From 2a259ea54446387ff2d5a5c8eb2caf1a9930a46a Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Wed, 15 Nov 2023 16:42:41 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20=C3=A9l=C3=A9ments=20de=20migrati?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0003_alter_event_category.py | 19 +++++++++++++++++++ .../migrations/0004_alter_event_category.py | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 src/agenda_culturel/migrations/0003_alter_event_category.py create mode 100644 src/agenda_culturel/migrations/0004_alter_event_category.py 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'), + ), + ]