mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-12-25 17:42:25 +00:00
Forgot migrations
This commit is contained in:
parent
054865cd41
commit
4ab2e9df57
49
media/migrations/0030_auto_20200522_1757.py
Normal file
49
media/migrations/0030_auto_20200522_1757.py
Normal file
@ -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'],
|
||||
},
|
||||
),
|
||||
]
|
17
media/migrations/0031_auto_20200522_1758.py
Normal file
17
media/migrations/0031_auto_20200522_1758.py
Normal file
@ -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'},
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user