def _tablify(self):
        tbl = PrettyTable(self.pretty_tbl_cols)

        for col in self.pretty_tbl_cols:
            tbl.align[col] = "l"

        for col in self.columns:
            row_data = [col.table, col.name, col.type]
            if self.use_schema:
                row_data.insert(0, col.schema)
            tbl.add_row(row_data)
        return tbl