# -*- 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)),
            ],
        ),
    ]

[(16, 'django.db.migrations.swappable_dependency', 'migrations.swappable_dependency', (['settings.AUTH_USER_MODEL'], {}), False, 'from django.db import migrations, models\n'), (23, 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), False, 'from django.db import migrations, models\n'), (24, 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(70)', 'null': '(True)'}), False, 'from django.db import migrations, models\n'), (25, 'django.db.models.FileField', 'models.FileField', ([], {'upload_to': 'musa.models.get_upload_path'}), False, 'from django.db import migrations, models\n'), (26, 'django.db.models.DateTimeField', 'models.DateTimeField', ([], {'auto_now_add': '(True)', 'null': '(True)'}), False, 'from django.db import migrations, models\n'), (27, 'django.db.models.ForeignKey', 'models.ForeignKey', ([], {'on_delete': 'django.db.models.deletion.CASCADE', 'to': 'settings.AUTH_USER_MODEL'}), False, 'from django.db import migrations, models\n'), (33, 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), False, 'from django.db import migrations, models\n'), (34, 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(70)'}), False, 'from django.db import migrations, models\n'), (35, 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(70)'}), False, 'from django.db import migrations, models\n'), (36, 'django.db.models.TextField', 'models.TextField', ([], {'blank': '(True)', 'max_length': '(300)'}), False, 'from django.db import migrations, models\n'), (37, 'django.db.models.ImageField', 'models.ImageField', ([], {'default': '"""/profile_images/avatar.jpeg"""', 'upload_to': '"""profile_images"""'}), False, 'from django.db import migrations, models\n'), (38, 'django.db.models.OneToOneField', 'models.OneToOneField', ([], {'on_delete': 'django.db.models.deletion.CASCADE', 'to': 'settings.AUTH_USER_MODEL'}), False, 'from django.db import migrations, models\n')]