text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.4 on 2018-10-12 23:06
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Eaten',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('time', models.DateTimeField(auto_now_add=True)),
              ],
          ),
          migrations.CreateModel(
              name='Meal',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=63)),
                  ('kind', models.CharField(choices=[('B', 'Breakfast'), ('L', 'Lunch'), ('D', 'Dinner'), ('S', 'Snack'), ('O', 'Other')], max_length=63)),
                  ('starts', models.DateTimeField(null=True)),
                  ('ends', models.DateTimeField(null=True)),
                  ('times', models.PositiveIntegerField(default=1)),
                  ('opened', models.BooleanField(default=False)),
              ],
          ),
          migrations.AddField(
              model_name='eaten',
              name='meal',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='meals.Meal'),
          ),
          migrations.AddField(
              model_name='eaten',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
      ]
  