Ajout migration BDD

This commit is contained in:
Jean-Marie Favreau 2024-10-17 10:27:45 +02:00
parent a8841b34d5
commit 499f90e88c
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
# Generated by Django 4.2.9 on 2024-10-17 08:27
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('agenda_culturel', '0088_alter_referencelocation_options_and_more'),
]
operations = [
migrations.AlterField(
model_name='recurrentimport',
name='defaultCategory',
field=models.ForeignKey(blank=True, default=None, help_text='Category of each imported event', null=True, on_delete=django.db.models.deletion.SET_DEFAULT, to='agenda_culturel.category', verbose_name='Category'),
),
]

View File

@ -1368,7 +1368,7 @@ class RecurrentImport(models.Model):
help_text=_("Category of each imported event"),
default=None,
null=True,
blanck=True,
blank=True,
on_delete=models.SET_DEFAULT,
)
defaultTags = ArrayField(