summaryrefslogtreecommitdiff
path: root/archaeological_files/migrations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-05 16:55:49 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:59:31 +0200
commitc02ea8056cde5f2c86af4787cadd64498c5ebf0b (patch)
tree79245aa6e7000c98c270b3d7110b7a3794638ea8 /archaeological_files/migrations
parentb564db3bb2dbbb71c0d1c1eb7f40ef44fa50e811 (diff)
downloadIshtar-c02ea8056cde5f2c86af4787cadd64498c5ebf0b.tar.bz2
Ishtar-c02ea8056cde5f2c86af4787cadd64498c5ebf0b.zip
Preventive file - admin: copy job and costs from price agreement
Diffstat (limited to 'archaeological_files/migrations')
-rw-r--r--archaeological_files/migrations/0107_auto_20220705_1612.py (renamed from archaeological_files/migrations/0107_auto_20220630_1519.py)12
1 files changed, 11 insertions, 1 deletions
diff --git a/archaeological_files/migrations/0107_auto_20220630_1519.py b/archaeological_files/migrations/0107_auto_20220705_1612.py
index 4d0331f0c..2589f0a15 100644
--- a/archaeological_files/migrations/0107_auto_20220630_1519.py
+++ b/archaeological_files/migrations/0107_auto_20220705_1612.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Generated by Django 1.11.28 on 2022-06-30 15:19
+# Generated by Django 1.11.28 on 2022-07-05 16:12
from __future__ import unicode_literals
import datetime
@@ -52,6 +52,16 @@ class Migration(migrations.Migration):
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='archaeological_files.PriceAgreement', verbose_name='Price agreement'),
),
migrations.AddField(
+ model_name='file',
+ name='price_agreement',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='archaeological_files.PriceAgreement', verbose_name='Price agreement'),
+ ),
+ migrations.AddField(
+ model_name='historicalfile',
+ name='price_agreement',
+ field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='archaeological_files.PriceAgreement', verbose_name='Price agreement'),
+ ),
+ migrations.AddField(
model_name='job',
name='price_agreement',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='archaeological_files.PriceAgreement', verbose_name='Price agreement'),