From c93de68f13c9ceffb1bdad4e2a22e5fafbdcc7cc Mon Sep 17 00:00:00 2001 From: C2dricLeroy Date: Tue, 25 Jun 2024 20:54:18 +0200 Subject: [PATCH] make migrations --- .../dictionnary/migrations/0001_initial.py | 3 ++- .../migrations/0002_languages_description.py | 18 ------------------ 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 vocab_dictionnary/dictionnary/migrations/0002_languages_description.py diff --git a/vocab_dictionnary/dictionnary/migrations/0001_initial.py b/vocab_dictionnary/dictionnary/migrations/0001_initial.py index 64523ac..3de5636 100644 --- a/vocab_dictionnary/dictionnary/migrations/0001_initial.py +++ b/vocab_dictionnary/dictionnary/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 5.0.6 on 2024-06-09 19:03 +# Generated by Django 5.0.4 on 2024-06-25 18:54 import django.db.models.deletion from django.db import migrations, models @@ -30,6 +30,7 @@ class Migration(migrations.Migration): ('name', models.CharField(max_length=100)), ('code', models.CharField(max_length=100)), ('is_valid', models.BooleanField(default=True)), + ('description', models.TextField(blank=True, null=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ], diff --git a/vocab_dictionnary/dictionnary/migrations/0002_languages_description.py b/vocab_dictionnary/dictionnary/migrations/0002_languages_description.py deleted file mode 100644 index fcec99b..0000000 --- a/vocab_dictionnary/dictionnary/migrations/0002_languages_description.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 5.0.4 on 2024-06-25 18:50 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('dictionnary', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='languages', - name='description', - field=models.TextField(blank=True, null=True), - ), - ]