# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-03-29 06:43
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import musa.models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='MusicCollection',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, max_length=70, null=True)),
                ('document', models.FileField(upload_to=musa.models.get_upload_path)),
                ('uploaded_at', models.DateTimeField(auto_now_add=True, null=True)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='UserProfile',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fullname', models.CharField(blank=True, max_length=70)),
                ('favourite_music', models.CharField(blank=True, max_length=70)),
                ('about', models.TextField(blank=True, max_length=300)),
                ('picture', models.ImageField(default='/profile_images/avatar.jpeg', upload_to='profile_images')),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

[((329, 386), 'django.db.migrations.swappable_dependency', 'migrations.swappable_dependency', (['settings.AUTH_USER_MODEL'], {}), '(settings.AUTH_USER_MODEL)\n', (360, 386), False, 'from django.db import migrations, models\n'), ((526, 619), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n    verbose_name='ID')\n", (542, 619), False, 'from django.db import migrations, models\n'), ((644, 698), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(70)', 'null': '(True)'}), '(blank=True, max_length=70, null=True)\n', (660, 698), False, 'from django.db import migrations, models\n'), ((730, 785), 'django.db.models.FileField', 'models.FileField', ([], {'upload_to': 'musa.models.get_upload_path'}), '(upload_to=musa.models.get_upload_path)\n', (746, 785), False, 'from django.db import migrations, models\n'), ((820, 870), 'django.db.models.DateTimeField', 'models.DateTimeField', ([], {'auto_now_add': '(True)', 'null': '(True)'}), '(auto_now_add=True, null=True)\n', (840, 870), False, 'from django.db import migrations, models\n'), ((898, 994), 'django.db.models.ForeignKey', 'models.ForeignKey', ([], {'on_delete': 'django.db.models.deletion.CASCADE', 'to': 'settings.AUTH_USER_MODEL'}), '(on_delete=django.db.models.deletion.CASCADE, to=settings.\n    AUTH_USER_MODEL)\n', (915, 994), False, 'from django.db import migrations, models\n'), ((1126, 1219), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n    verbose_name='ID')\n", (1142, 1219), False, 'from django.db import migrations, models\n'), ((1247, 1290), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(70)'}), '(blank=True, max_length=70)\n', (1263, 1290), False, 'from django.db import migrations, models\n'), ((1329, 1372), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(70)'}), '(blank=True, max_length=70)\n', (1345, 1372), False, 'from django.db import migrations, models\n'), ((1401, 1445), 'django.db.models.TextField', 'models.TextField', ([], {'blank': '(True)', 'max_length': '(300)'}), '(blank=True, max_length=300)\n', (1417, 1445), False, 'from django.db import migrations, models\n'), ((1476, 1565), 'django.db.models.ImageField', 'models.ImageField', ([], {'default': '"""/profile_images/avatar.jpeg"""', 'upload_to': '"""profile_images"""'}), "(default='/profile_images/avatar.jpeg', upload_to=\n    'profile_images')\n", (1493, 1565), False, 'from django.db import migrations, models\n'), ((1588, 1687), 'django.db.models.OneToOneField', 'models.OneToOneField', ([], {'on_delete': 'django.db.models.deletion.CASCADE', 'to': 'settings.AUTH_USER_MODEL'}), '(on_delete=django.db.models.deletion.CASCADE, to=\n    settings.AUTH_USER_MODEL)\n', (1608, 1687), False, 'from django.db import migrations, models\n')]