diff --git a/core/migrations/0004_structurehierarchique_and_more.py b/core/migrations/0004_structurehierarchique_and_more.py new file mode 100644 index 00000000..2c46f33a --- /dev/null +++ b/core/migrations/0004_structurehierarchique_and_more.py @@ -0,0 +1,43 @@ +# Generated by Django 5.0.3 on 2024-07-01 14:49 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("core", "0003_contact_core_contac_email_800caf_idx"), + ] + + operations = [ + migrations.CreateModel( + name="StructureHierarchique", + fields=[ + ("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), + ("nom", models.CharField(max_length=255)), + ], + options={ + "verbose_name": "Structure hiérarchique", + "verbose_name_plural": "Structures hiérarchiques", + }, + ), + migrations.AlterField( + model_name="contact", + name="complement_fonction", + field=models.TextField(blank=True), + ), + migrations.AlterField( + model_name="contact", + name="fonction_hierarchique", + field=models.CharField(blank=True, max_length=255), + ), + migrations.AlterField( + model_name="contact", + name="mobile", + field=models.CharField(blank=True, max_length=20), + ), + migrations.AlterField( + model_name="contact", + name="telephone", + field=models.CharField(blank=True, max_length=20), + ), + ] diff --git a/core/migrations/0005_delete_structurehierarchique.py b/core/migrations/0005_delete_structurehierarchique.py new file mode 100644 index 00000000..42d9a079 --- /dev/null +++ b/core/migrations/0005_delete_structurehierarchique.py @@ -0,0 +1,15 @@ +# Generated by Django 5.0.3 on 2024-07-02 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("core", "0004_structurehierarchique_and_more"), + ] + + operations = [ + migrations.DeleteModel( + name="StructureHierarchique", + ), + ]