mirror of https://github.com/zulip/zulip.git
migrations: Disable atomic flag on migration 0354.
I believe that this migration with the default of atomic=True will fail when trying to convert the field to PositiveIntegerField if there were any 0 values present in the database when the migration began. The fix is to have each of the steps be their own transaction.
This commit is contained in:
parent
fb94e959c8
commit
3531afd754
|
@ -34,6 +34,7 @@ def reverse_make_zero_invalid_for_message_delete_limit(
|
|||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
atomic = False
|
||||
|
||||
dependencies = [
|
||||
("zerver", "0353_remove_realm_default_twenty_four_hour_time"),
|
||||
|
|
Loading…
Reference in New Issue