2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 06:16:29 +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:
Oliver Walters
2021-02-04 22:19:15 +11:00
parent 140c8b5395
commit 74704a7c1e
11 changed files with 22 additions and 0 deletions

View File

@ -12,6 +12,8 @@ def update_tree(apps, schema_editor):
class Migration(migrations.Migration):
atomic = False
dependencies = [
('part', '0019_auto_20190908_0404'),
]

View File

@ -18,6 +18,8 @@ def create_thumbnails(apps, schema_editor):
class Migration(migrations.Migration):
atomic = False
dependencies = [
('part', '0033_auto_20200404_0445'),
]

View File

@ -16,6 +16,8 @@ def nupdate_tree(apps, schema_editor):
class Migration(migrations.Migration):
atomic = False
dependencies = [
('part', '0038_auto_20200513_0016'),
]

View File

@ -138,6 +138,8 @@ def reverse_currencies(apps, schema_editor):
class Migration(migrations.Migration):
atomic = False
dependencies = [
('part', '0055_auto_20201110_1001'),
]