You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrated issue, originally created by Martin Domke (@mdomke)
It is currently not possible to delete an existing server default when using batch_alter_table() by setting the server_default keyword-parameter to None. The migration will fail with an
sqlalchemy.exc.ArgumentError: Argument 'arg' is expected to be one of type '<type 'basestring'>' or '<class 'sqlalchemy.sql.elements.ClauseElement'>' or '<class 'sqlalchemy.sql.elements.TextClause'>', got '<type 'NoneType'>'
I suppose this has been introduced in issue #338. Following the example from that issue, the following doesn't work:
Migrated issue, originally created by Martin Domke (@mdomke)
It is currently not possible to delete an existing server default when using
batch_alter_table()
by setting theserver_default
keyword-parameter toNone
. The migration will fail with anI suppose this has been introduced in issue #338. Following the example from that issue, the following doesn't work:
Revision 1:
Revision 2:
The text was updated successfully, but these errors were encountered: