98 lines
4.3 KiB
Python
98 lines
4.3 KiB
Python
# Generated by Django 3.1.3 on 2022-01-14 08:36
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('intervention', '0001_initial'),
|
|
('konova', '0001_initial'),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('compensation', '0002_auto_20220114_0936'),
|
|
('user', '0001_initial'),
|
|
('ema', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='emadocument',
|
|
name='created',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='user.useractionlogentry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='emadocument',
|
|
name='instance',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='documents', to='ema.ema'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='emadocument',
|
|
name='modified',
|
|
field=models.ForeignKey(blank=True, help_text='Last modified', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='user.useractionlogentry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='actions',
|
|
field=models.ManyToManyField(blank=True, help_text="Refers to 'Maßnahmen'", to='compensation.CompensationAction'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='after_states',
|
|
field=models.ManyToManyField(blank=True, help_text="Refers to 'Zielzustand Biotop'", related_name='_ema_after_states_+', to='compensation.CompensationState'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='before_states',
|
|
field=models.ManyToManyField(blank=True, help_text="Refers to 'Ausgangszustand Biotop'", related_name='_ema_before_states_+', to='compensation.CompensationState'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='created',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='user.useractionlogentry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='deadlines',
|
|
field=models.ManyToManyField(blank=True, related_name='_ema_deadlines_+', to='konova.Deadline'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='deleted',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='user.useractionlogentry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='geometry',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='konova.geometry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='log',
|
|
field=models.ManyToManyField(blank=True, editable=False, help_text='Keeps all user actions of an object', to='user.UserActionLogEntry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='modified',
|
|
field=models.ForeignKey(blank=True, help_text='Last modified', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='user.useractionlogentry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='recorded',
|
|
field=models.OneToOneField(blank=True, help_text='Holds data on user and timestamp of this action', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='user.useractionlogentry'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='responsible',
|
|
field=models.OneToOneField(blank=True, help_text="Holds data on responsible organizations ('Zulassungsbehörde', 'Eintragungsstelle') and handler", null=True, on_delete=django.db.models.deletion.SET_NULL, to='intervention.responsibility'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ema',
|
|
name='users',
|
|
field=models.ManyToManyField(help_text='Users having access (data shared with)', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
]
|