# -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2017-07-27 02:49
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('accounts', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Kindergarten',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_date', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Create Date')),
                ('modify_date', models.DateTimeField(auto_now=True, null=True, verbose_name='Modify Date')),
                ('name', models.CharField(max_length=100, verbose_name='\uc720\uce58\uc6d0\uba85')),
                ('email', models.EmailField(blank=True, max_length=100, null=True, verbose_name='email')),
                ('post_code', models.CharField(blank=True, max_length=40, null=True, verbose_name='\uc6b0\ud3b8\ubc88\ud638')),
                ('address', models.CharField(blank=True, max_length=100, null=True, verbose_name='\uc804\uccb4\uc8fc\uc18c')),
                ('first_address', models.CharField(blank=True, max_length=100, null=True, verbose_name='\uc8fc\uc18c')),
                ('detail_address', models.CharField(blank=True, max_length=100, null=True, verbose_name='\uc0c1\uc138\uc8fc\uc18c')),
                ('tel', models.CharField(blank=True, max_length=80, null=True, verbose_name='\ub300\ud45c\uc804\ud654')),
            ],
            options={
                'db_table': 'kg_kindergarten',
            },
        ),
        migrations.CreateModel(
            name='SmartKindergarten',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100, verbose_name='\uc720\uce58\uc6d0\uba85')),
                ('address', models.CharField(blank=True, max_length=100, null=True, verbose_name='\uc8fc\uc18c')),
            ],
            options={
                'db_table': 'kg_smart_kindergarten',
            },
        ),
        migrations.AddField(
            model_name='kindergarten',
            name='smart_kindergarten',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='kindergarten.SmartKindergarten'),
        ),
        migrations.AddField(
            model_name='kindergarten',
            name='user_profile',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.UserProfile'),
        ),
    ]
