# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-07 11:13
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('shop_auth_app', '0001_user_auth'),
        ('shop_app', '0014_cart_model'),
    ]

    operations = [
        migrations.CreateModel(
            name='Address',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('address', models.CharField(max_length=100)),
                ('city', models.CharField(max_length=100)),
                ('apartment', models.CharField(max_length=20)),
                ('district', models.CharField(blank=True, max_length=100)),
                ('postcode', models.PositiveSmallIntegerField()),
                ('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shop_app.Country')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shop_auth_app.MyUser')),
            ],
        ),
        migrations.CreateModel(
            name='UserProfile',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('last_name', models.CharField(max_length=70)),
                ('company_name', models.CharField(blank=True, max_length=100)),
                ('phone', models.CharField(blank=True, max_length=20)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shop_auth_app.MyUser')),
            ],
        ),
    ]
