text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.11 on 2018-03-28 17:47
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = []
  
      operations = [
          migrations.CreateModel(
              name="Product",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("name", models.TextField()),
                  ("current_inventory", models.IntegerField(default=0)),
                  ("price", models.IntegerField(default=0)),
                  ("related_products", models.ManyToManyField(to="test_app.Product")),
              ],
          ),
          migrations.CreateModel(
              name="ProductOrder",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("expiration_date", models.DateField()),
                  ("quantity", models.IntegerField(default=0)),
                  (
                      "product",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          to="test_app.Product",
                      ),
                  ),
              ],
          ),
      ]
  