# Generated by Django 2.0.7 on 2018-09-07 06:45

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import taggit.managers


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('taggit', '0002_auto_20150616_2121'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('file', models.ImageField(upload_to='')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='List',
            fields=[
                ('created_at', models.DateTimeField(auto_now=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('List_name', models.CharField(default='', max_length=100)),
                ('List_serial', models.AutoField(primary_key=True, serialize=False)),
                ('List_time', models.IntegerField(default=0)),
                ('List_creator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='lists', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ['-created_at'],
            },
        ),
        migrations.CreateModel(
            name='Music',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Music_name', models.CharField(default='', max_length=100)),
                ('Singer_name', models.CharField(default='', max_length=100)),
                ('Album_name', models.CharField(default='', max_length=100)),
                ('Melon_serial', models.IntegerField(default=0)),
                ('Naver_serial', models.IntegerField(default=0)),
                ('Mnet_serial', models.IntegerField(default=0)),
                ('Bugs_serial', models.IntegerField(default=0)),
                ('Genie_serial', models.IntegerField(default=0)),
                ('Grade', models.IntegerField(default=0)),
                ('Parsing_time', models.IntegerField(default=0)),
                ('tags', taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')),
            ],
        ),
        migrations.AddField(
            model_name='list',
            name='Song_list',
            field=models.ManyToManyField(to='musics.Music'),
        ),
    ]
