diff --git a/src/agenda_culturel/migrations/0003_alter_event_category.py b/src/agenda_culturel/migrations/0003_alter_event_category.py new file mode 100644 index 0000000..2f194be --- /dev/null +++ b/src/agenda_culturel/migrations/0003_alter_event_category.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.7 on 2023-11-15 15:26 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('agenda_culturel', '0002_alter_event_category'), + ] + + operations = [ + migrations.AlterField( + model_name='event', + name='category', + field=models.ForeignKey(default=None, help_text='Category of the event', null=True, on_delete=django.db.models.deletion.SET_DEFAULT, to='agenda_culturel.category', verbose_name='Category'), + ), + ] diff --git a/src/agenda_culturel/migrations/0004_alter_event_category.py b/src/agenda_culturel/migrations/0004_alter_event_category.py new file mode 100644 index 0000000..558e72a --- /dev/null +++ b/src/agenda_culturel/migrations/0004_alter_event_category.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.7 on 2023-11-15 15:38 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('agenda_culturel', '0003_alter_event_category'), + ] + + operations = [ + migrations.AlterField( + model_name='event', + name='category', + field=models.ForeignKey(default=1, help_text='Category of the event', null=True, on_delete=django.db.models.deletion.SET_DEFAULT, to='agenda_culturel.category', verbose_name='Category'), + ), + ]