25 lines
698 B
Python
25 lines
698 B
Python
# Generated by Django 2.2.26 on 2022-11-30 11:09
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('agendas', '0143_shared_custody_remove_children_field'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='sharedcustodyagenda',
|
|
name='date_end',
|
|
field=models.DateField(null=True, verbose_name='End'),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name='sharedcustodyagenda',
|
|
constraint=models.UniqueConstraint(
|
|
condition=models.Q(date_end__isnull=True), fields=('child',), name='unique_child_no_date_end'
|
|
),
|
|
),
|
|
]
|