-
- Downloads
[FIX] models: commit *before* trying to set NOT NULL constraint
Setting NOT NULL constraints on required fields may fail if there are any row with unset value for this column. The ORM handle this case by catching the exception raised and warning user. However, not commiting the current transaction before, will rollback changes made before like setting default values or renaming a column.
Loading
Please register or sign in to comment