# Generated by Django 3.2.6 on 2021-08-29 11:54

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Card',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('rarity', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='Type',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('species', models.CharField(max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='Instance',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('card', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='card.card')),
            ],
        ),
        migrations.CreateModel(
            name='Deck',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('card', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='card.instance')),
            ],
        ),
        migrations.AddField(
            model_name='card',
            name='type',
            field=models.ManyToManyField(blank=True, to='card.Type'),
        ),
    ]

ce9add5e05e94b0202a8ed2acb95f1ba8181b0f5
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Card', fields=[('id', models
        .BigAutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=100)), (
        'rarity', models.IntegerField())]), migrations.CreateModel(name=
        'Type', fields=[('id', models.BigAutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('species',
        models.CharField(max_length=100))]), migrations.CreateModel(name=
        'Instance', fields=[('id', models.BigAutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('card',
        models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=
        'card.card'))]), migrations.CreateModel(name='Deck', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('card', models.ForeignKey(on_delete=
        django.db.models.deletion.PROTECT, to='card.instance'))]),
        migrations.AddField(model_name='card', name='type', field=models.
        ManyToManyField(blank=True, to='card.Type'))]

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Card', fields=[('id', models
        .BigAutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=100)), (
        'rarity', models.IntegerField())]), migrations.CreateModel(name=
        'Type', fields=[('id', models.BigAutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('species',
        models.CharField(max_length=100))]), migrations.CreateModel(name=
        'Instance', fields=[('id', models.BigAutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('card',
        models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=
        'card.card'))]), migrations.CreateModel(name='Deck', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('card', models.ForeignKey(on_delete=
        django.db.models.deletion.PROTECT, to='card.instance'))]),
        migrations.AddField(model_name='card', name='type', field=models.
        ManyToManyField(blank=True, to='card.Type'))]

# Generated by Django 3.2.6 on 2021-08-29 11:54

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Card',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('rarity', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='Type',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('species', models.CharField(max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='Instance',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('card', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='card.card')),
            ],
        ),
        migrations.CreateModel(
            name='Deck',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('card', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='card.instance')),
            ],
        ),
        migrations.AddField(
            model_name='card',
            name='type',
            field=models.ManyToManyField(blank=True, to='card.Type'),
        ),
    ]
