From 4ab2e9df570ce1f053b5777455463b191ef32b5b Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 22 May 2020 18:06:50 +0200 Subject: [PATCH] Forgot migrations --- media/migrations/0030_auto_20200522_1757.py | 49 +++++++++++++++++++++ media/migrations/0031_auto_20200522_1758.py | 17 +++++++ 2 files changed, 66 insertions(+) create mode 100644 media/migrations/0030_auto_20200522_1757.py create mode 100644 media/migrations/0031_auto_20200522_1758.py diff --git a/media/migrations/0030_auto_20200522_1757.py b/media/migrations/0030_auto_20200522_1757.py new file mode 100644 index 0000000..6e8f84d --- /dev/null +++ b/media/migrations/0030_auto_20200522_1757.py @@ -0,0 +1,49 @@ +# Generated by Django 2.2.10 on 2020-05-22 15:57 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('media', '0029_auto_20200521_1659'), + ] + + operations = [ + migrations.RenameModel( + old_name='Media', + new_name='BD', + ), + migrations.AlterModelOptions( + name='manga', + options={}, + ), + migrations.CreateModel( + name='Vinyle', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('title', models.CharField(max_length=255, verbose_name='title')), + ('side_identifier', models.CharField(max_length=255, verbose_name='side identifier')), + ('authors', models.ManyToManyField(to='media.Auteur', verbose_name='authors')), + ], + options={ + 'verbose_name': 'vinyle', + 'verbose_name_plural': 'vinyles', + 'ordering': ['title'], + }, + ), + migrations.CreateModel( + name='CD', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('title', models.CharField(max_length=255, verbose_name='title')), + ('side_identifier', models.CharField(max_length=255, verbose_name='side identifier')), + ('authors', models.ManyToManyField(to='media.Auteur', verbose_name='authors')), + ], + options={ + 'verbose_name': 'CD', + 'verbose_name_plural': 'CDs', + 'ordering': ['title'], + }, + ), + ] diff --git a/media/migrations/0031_auto_20200522_1758.py b/media/migrations/0031_auto_20200522_1758.py new file mode 100644 index 0000000..2ff8183 --- /dev/null +++ b/media/migrations/0031_auto_20200522_1758.py @@ -0,0 +1,17 @@ +# Generated by Django 2.2.10 on 2020-05-22 15:58 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('media', '0030_auto_20200522_1757'), + ] + + operations = [ + migrations.AlterModelOptions( + name='bd', + options={'ordering': ['title', 'subtitle'], 'verbose_name': 'BD', 'verbose_name_plural': 'BDs'}, + ), + ]