def _create_table(self, table_name): table_name = validate_name(table_name) log.debug("Creating table: %s on %r" % (table_name, self.engine)) table = Table(table_name, self.meta) col = Column(ID_COLUMN, Integer, primary_key=True) table.append_column(col) table.create(self.engine) return table