SchemaEditor: Alter Default requires column definition

54 views
Skip to first unread message

Max Bothe

unread,
Jan 17, 2016, 12:47:00 PM1/17/16
to Django developers (Contributions to Django itself)
Hi all,

Some databases (like SAP HANA) don't support adding or removing a default value of a column without redefining the column [1].
In order to support custom backends for these databases, the column definition has to be passed additionally to the format strings sql_alter_column_default and sql_alter_column_no_default in django.db.backend.base.schema.BaseSchemaEditor .

Comments are welcome.

Thanks,
Max  


Tim Graham

unread,
Jan 22, 2016, 3:58:38 PM1/22/16
to Django developers (Contributions to Django itself)
What sort of comments are you looking for?
Reply all
Reply to author
Forward
0 new messages