text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.20 on 2019-06-16 23:22
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Album',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created_date', models.DateTimeField(auto_now_add=True)),
                  ('modified_date', models.DateTimeField(auto_now=True)),
                  ('artist', models.CharField(max_length=250)),
                  ('album_title', models.CharField(max_length=500)),
                  ('genre', models.CharField(max_length=100)),
                  ('album_logo', models.ImageField(upload_to='')),
                  ('is_favorite', models.BooleanField(default=False)),
              ],
              options={
                  'default_related_name': 'albums',
              },
          ),
          migrations.CreateModel(
              name='Artist',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created_date', models.DateTimeField(auto_now_add=True)),
                  ('modified_date', models.DateTimeField(auto_now=True)),
                  ('artist', models.CharField(max_length=250)),
                  ('artist_image', models.ImageField(default='', upload_to='')),
                  ('is_favorite', models.BooleanField(default=False)),
                  ('user', models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, related_name='artist', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'default_related_name': 'artist',
              },
          ),
          migrations.CreateModel(
              name='Song',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created_date', models.DateTimeField(auto_now_add=True)),
                  ('modified_date', models.DateTimeField(auto_now=True)),
                  ('song_title', models.CharField(max_length=250)),
                  ('song_image', models.ImageField(default='', upload_to='')),
                  ('audio_file', models.FileField(default='', upload_to='')),
                  ('is_favorite', models.BooleanField(default=False)),
                  ('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='songs', to='music.Album')),
                  ('user', models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, related_name='songs', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'default_related_name': 'songs',
              },
          ),
          migrations.AddField(
              model_name='album',
              name='artist_name',
              field=models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, related_name='albums', to='music.Artist'),
          ),
          migrations.AddField(
              model_name='album',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='albums', to=settings.AUTH_USER_MODEL),
          ),
      ]
  