text: # Generated by Django 3.1.5 on 2021-01-16 21:02
  
  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='Restaurant',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255, null=True)),
                  ('address', models.CharField(max_length=1500, null=True)),
                  ('contact', models.IntegerField(null=True)),
                  ('maxActiveOrders', models.IntegerField(null=True)),
                  ('username', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Menu',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('dish_name', models.CharField(max_length=255, null=True)),
                  ('price', models.FloatField(max_length=255, null=True)),
                  ('availability', models.BooleanField(default=True)),
                  ('cuisine', models.CharField(choices=[('Chinese', 'Chinese'), ('North Indian', 'North Indian'), ('South Indian', 'South Indian'), ('Italian', 'Italian')], max_length=50)),
                  ('res_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='restaurants.restaurant')),
              ],
          ),
      ]
  