mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Mark migrations with data operations "non atomic"
Ref: https://docs.djangoproject.com/en/dev/howto/writing-migrations/#non-atomic-migrations
This commit is contained in:
@ -17,6 +17,8 @@ def nupdate_tree(apps, schema_editor):
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
atomic = False
|
||||
|
||||
dependencies = [
|
||||
('build', '0012_build_sales_order'),
|
||||
]
|
||||
|
@ -31,6 +31,8 @@ def reverse_default_reference(apps, schema_editor):
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
atomic = False
|
||||
|
||||
dependencies = [
|
||||
('build', '0017_auto_20200426_0612'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user