﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30444	Refactor `BaseDatabaseSchemaEditor.create_model`	Rob Golding	nobody	"I've been working on a project that uses Citus as the database (which is a Postgres database extension). I found it easy to override methods to change most of the behaviour in the `BaseDatabaseSchemaEditor` class, but the `create_model` functionality differs in that it directly executes SQL which it generates itself.

I propose extracting this logic into a `table_sql` method, similar to how `column_sql` works.

I'm happy to submit a PR for this work if it sounds like a reasonable improvement!"	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed			Ready for checkin	0	0	0	0	0	0
