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 [1] https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/d329a6751910149d5fdbc4800f92ff/content.htm#loio20d329a6751910149d5fdbc4800f92ff__sql_alter_table_1alter_table_alter_column_clause -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/fa06f3b1-d226-4d00-8279-7721174c3803%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.