diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-10 12:18:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-10 12:18:11 +0200 |
commit | 37234e1423fb4ce64ceafe7bec90960b8da86793 (patch) | |
tree | ce7a3393b28403e6f053704ac6f8f0b9da028d07 /ishtar_common/migrations | |
parent | b39fe8bbbb3330087abf68f0ed7fad68c9ee60f0 (diff) | |
download | Ishtar-37234e1423fb4ce64ceafe7bec90960b8da86793.tar.bz2 Ishtar-37234e1423fb4ce64ceafe7bec90960b8da86793.zip |
Serialization - restore: manage history (or not)
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0105_auto_20190910_1100.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0105_auto_20190910_1100.py b/ishtar_common/migrations/0105_auto_20190910_1100.py new file mode 100644 index 000000000..2e8ed2e62 --- /dev/null +++ b/ishtar_common/migrations/0105_auto_20190910_1100.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-09-10 11:00 +from __future__ import unicode_literals + +from django.conf import settings +import django.contrib.gis.db.models.fields +import django.contrib.postgres.search +import django.core.validators +from django.db import migrations, models +import django.db.models.deletion +import re + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('ishtar_common', '0104_regenerate_views'), + ] + + operations = [ + migrations.AddField( + model_name='importtask', + name='import_user', + field=models.ForeignKey(blank=True, help_text='If set the "Import user" will be the editor for last version. If the field is left empty no history will be recorded.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL, verbose_name='Import user'), + ), + ] |