text: # Generated by Django 3.1.7 on 2021-03-23 15:26
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Manufacturer',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50)),
                  ('website', models.URLField()),
              ],
          ),
          migrations.CreateModel(
              name='ShoeColor',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('color_name', models.CharField(choices=[('red', 'Red'), ('orange', 'Orange'), ('yellow', 'Yellow'), ('green', 'Green'), ('blue', 'Blue'), ('indigo', 'Indigo'), ('violet', 'Violet'), ('white', 'White'), ('black', 'Black')], max_length=9)),
              ],
          ),
          migrations.CreateModel(
              name='ShoeType',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('style', models.CharField(max_length=50)),
              ],
          ),
          migrations.CreateModel(
              name='Shoe',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('size', models.PositiveIntegerField()),
                  ('brand_name', models.CharField(max_length=50)),
                  ('material', models.CharField(max_length=50)),
                  ('fasten_type', models.CharField(max_length=50)),
                  ('color', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shoeapp.shoecolor')),
                  ('manufacturer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shoeapp.manufacturer')),
                  ('shoe_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shoeapp.shoetype')),
              ],
          ),
      ]
  