Commit 303529b7 authored by Fabien  MAREUIL's avatar Fabien MAREUIL
Browse files

typo migration script

parent 1cc8b149
Pipeline #50451 failed with stages
in 25 minutes and 8 seconds
......@@ -8,7 +8,7 @@ def init_isolevel(apps, schema_editor):
InteractFile = apps.get_model("ippidb", "InteractFile")
Chains = Chain.objects.all()
if Chains:
Chain.update(default_isolevel=0.5)
Chains.update(default_isolevel=0.5)
InteractFiles = InteractFile.objects.filter(label="all")
if InteractFiles:
InteractFiles.update(default_isolevel=0.7)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment