diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-07-09 11:53:00 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-07-09 11:53:00 +0200 | 
| commit | 915e294bcacf7bf79c90fc7ffb46f34d3902aaec (patch) | |
| tree | 1e8aab73d44e23139571665e35cd722ed3afca28 /archaeological_finds/migrations/0126_fix_treatment_file_exhibition.py | |
| parent | d7effe6fae485d3b2d4bfbe1315bd3acf1d85e41 (diff) | |
| download | Ishtar-915e294bcacf7bf79c90fc7ffb46f34d3902aaec.tar.bz2 Ishtar-915e294bcacf7bf79c90fc7ffb46f34d3902aaec.zip  | |
🐛 fix many date and numeric searches (refs #5928)
Diffstat (limited to 'archaeological_finds/migrations/0126_fix_treatment_file_exhibition.py')
| -rw-r--r-- | archaeological_finds/migrations/0126_fix_treatment_file_exhibition.py | 21 | 
1 files changed, 21 insertions, 0 deletions
diff --git a/archaeological_finds/migrations/0126_fix_treatment_file_exhibition.py b/archaeological_finds/migrations/0126_fix_treatment_file_exhibition.py new file mode 100644 index 000000000..f9d252e0d --- /dev/null +++ b/archaeological_finds/migrations/0126_fix_treatment_file_exhibition.py @@ -0,0 +1,21 @@ +# Generated by Django 2.2.24 on 2024-07-09 11:11 + +from django.db import migrations + + +SQL = """ +UPDATE archaeological_finds_treatmentfiletype +    SET txt_idx='loan-for-exhibition' +    WHERE txt_idx='loan_demand_exposure' +""" + + +class Migration(migrations.Migration): + +    dependencies = [ +        ('archaeological_finds', '0125_data_migration_communicability_functionalarea'), +    ] + +    operations = [ +        migrations.RunSQL(SQL) +    ]  | 
