# Generated by Django 3.2.7 on 2021-09-28 18:06

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


class Migration(migrations.Migration):

    dependencies = [
        ('game', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Author',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('authorId', models.IntegerField()),
            ],
        ),
        migrations.RenameField(
            model_name='level',
            old_name='level_id',
            new_name='levelId',
        ),
        migrations.RemoveField(
            model_name='level',
            name='author_id',
        ),
        migrations.AlterField(
            model_name='level',
            name='author',
            field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='game.author'),
        ),
    ]
