# Generated by Django 2.1.7 on 2019-03-30 09:38

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Guest',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('first_name', models.CharField(max_length=100)),
                ('last_name', models.CharField(max_length=100)),
                ('dietary', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Party',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('partyname', models.CharField(max_length=100, null=True)),
                ('category', models.CharField(choices=[('max,', 'max'), ('nastia', 'nastia'), ('both', 'both')], max_length=10, null=True)),
                ('email', models.EmailField(max_length=100)),
                ('language', models.CharField(choices=[('en', 'en'), ('fr', 'fr'), ('ru', 'ru')], max_length=10)),
                ('is_attending', models.BooleanField(default=None)),
                ('song', models.TextField(blank=True, null=True)),
                ('message', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.AddField(
            model_name='guest',
            name='party',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='guests.Party'),
        ),
    ]
