1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-23 22:27:32 +00:00
Altessimo/artists/migrations/0005_idol_voiceactor.py
2021-07-10 01:25:07 +07:00

32 lines
1.1 KiB
Python

# Generated by Django 3.2.5 on 2021-07-09 17:06
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('artists', '0004_auto_20201216_1633'),
]
operations = [
migrations.CreateModel(
name='VoiceActor',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(blank=True, max_length=255)),
('romanized_name', models.CharField(max_length=255)),
],
),
migrations.CreateModel(
name='Idol',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(blank=True, max_length=255)),
('romanized_name', models.CharField(max_length=255)),
('voice_actor', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='artists.voiceactor')),
],
),
]