text: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import models, migrations
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('demo_models', '0002_bar_foos'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Place',
              fields=[
                  ('id', models.AutoField(primary_key=True, auto_created=True, verbose_name='ID', serialize=False)),
                  ('name', models.CharField(max_length=50)),
                  ('address', models.CharField(max_length=80)),
              ],
          ),
          migrations.CreateModel(
              name='Waiter',
              fields=[
                  ('id', models.AutoField(primary_key=True, auto_created=True, verbose_name='ID', serialize=False)),
                  ('name', models.CharField(max_length=50)),
              ],
          ),
          migrations.CreateModel(
              name='Restaurant',
              fields=[
                  ('place', models.OneToOneField(primary_key=True, to='demo_models.Place', serialize=False, on_delete=models.CASCADE)),
                  ('serves_hot_dogs', models.BooleanField(default=False)),
                  ('serves_pizza', models.BooleanField(default=False)),
              ],
          ),
          migrations.AddField(
              model_name='waiter',
              name='restaurant',
              field=models.ForeignKey(to='demo_models.Restaurant', on_delete=models.CASCADE),
          ),
      ]
  