Merge pull request '# Django 4 migrations' (#371) from django_4_migrations into master
Reviewed-on: SGD-Nord/konova#371
This commit is contained in:
commit
96d2b5aa6c
18
api/migrations/0002_alter_apiusertoken_valid_until.py
Normal file
18
api/migrations/0002_alter_apiusertoken_valid_until.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.6 on 2023-11-30 11:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='apiusertoken',
|
||||
name='valid_until',
|
||||
field=models.DateField(blank=True, help_text='Token is only valid until this date. Forever if null/blank.', null=True),
|
||||
),
|
||||
]
|
@ -0,0 +1,70 @@
|
||||
# Generated by Django 4.2.6 on 2023-11-30 11:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('codelist', '0001_initial'),
|
||||
('konova', '0014_resubmission'),
|
||||
('compensation', '0014_auto_20221118_1620'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='compensation',
|
||||
name='after_states',
|
||||
field=models.ManyToManyField(blank=True, help_text="Refers to 'Zielzustand Biotop'", related_name='+', to='compensation.compensationstate'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compensation',
|
||||
name='before_states',
|
||||
field=models.ManyToManyField(blank=True, help_text="Refers to 'Ausgangszustand Biotop'", related_name='+', to='compensation.compensationstate'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compensation',
|
||||
name='deadlines',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.deadline'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compensation',
|
||||
name='resubmissions',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.resubmission'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compensationaction',
|
||||
name='action_type',
|
||||
field=models.ManyToManyField(blank=True, limit_choices_to={'code_lists__in': [1026], 'is_archived': False, 'is_selectable': True}, related_name='+', to='codelist.konovacode'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compensationaction',
|
||||
name='action_type_details',
|
||||
field=models.ManyToManyField(blank=True, limit_choices_to={'code_lists__in': [1035], 'is_archived': False, 'is_selectable': True}, related_name='+', to='codelist.konovacode'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compensationstate',
|
||||
name='biotope_type_details',
|
||||
field=models.ManyToManyField(blank=True, limit_choices_to={'code_lists__in': [975], 'is_archived': False, 'is_selectable': True}, related_name='+', to='codelist.konovacode'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ecoaccount',
|
||||
name='after_states',
|
||||
field=models.ManyToManyField(blank=True, help_text="Refers to 'Zielzustand Biotop'", related_name='+', to='compensation.compensationstate'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ecoaccount',
|
||||
name='before_states',
|
||||
field=models.ManyToManyField(blank=True, help_text="Refers to 'Ausgangszustand Biotop'", related_name='+', to='compensation.compensationstate'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ecoaccount',
|
||||
name='deadlines',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.deadline'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ecoaccount',
|
||||
name='resubmissions',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.resubmission'),
|
||||
),
|
||||
]
|
@ -0,0 +1,35 @@
|
||||
# Generated by Django 4.2.6 on 2023-11-30 11:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('compensation', '0015_alter_compensation_after_states_and_more'),
|
||||
('konova', '0014_resubmission'),
|
||||
('ema', '0008_auto_20221116_1322'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ema',
|
||||
name='after_states',
|
||||
field=models.ManyToManyField(blank=True, help_text="Refers to 'Zielzustand Biotop'", related_name='+', to='compensation.compensationstate'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ema',
|
||||
name='before_states',
|
||||
field=models.ManyToManyField(blank=True, help_text="Refers to 'Ausgangszustand Biotop'", related_name='+', to='compensation.compensationstate'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ema',
|
||||
name='deadlines',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.deadline'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ema',
|
||||
name='resubmissions',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.resubmission'),
|
||||
),
|
||||
]
|
@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.2.6 on 2023-11-30 11:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('konova', '0014_resubmission'),
|
||||
('intervention', '0008_auto_20221116_1322'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='intervention',
|
||||
name='resubmissions',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='konova.resubmission'),
|
||||
),
|
||||
]
|
@ -0,0 +1,24 @@
|
||||
# Generated by Django 4.2.6 on 2023-11-30 11:56
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('user', '0006_auto_20220815_0759'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='team',
|
||||
name='admins',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='user',
|
||||
name='notifications',
|
||||
field=models.ManyToManyField(blank=True, related_name='+', to='user.usernotification'),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user