# Generated by Django 3.0.8 on 2020-08-07 19:56

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Album',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('album_name', models.CharField(max_length=100)),
                ('fav', models.BooleanField(default=False)),
            ],
        ),
        migrations.CreateModel(
            name='Song',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('song_name', models.CharField(max_length=50)),
                ('file_type', models.CharField(max_length=10)),
                ('fav', models.BooleanField(default=False)),
                ('album', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='home.Album')),
            ],
        ),
    ]
