# Generated by Django 2.1.7 on 2019-04-08 02:08

import Inventory.models
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),
        ('Character_Builder', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Inventory',
            fields=[
                ('inventoryID', models.AutoField(primary_key=True, serialize=False)),
                ('character', models.ForeignKey(default=Inventory.models.defaultCharacter, on_delete=django.db.models.deletion.CASCADE, to='Character_Builder.Character')),
            ],
        ),
        migrations.CreateModel(
            name='Item',
            fields=[
                ('itemID', models.AutoField(primary_key=True, serialize=False)),
                ('itemName', models.CharField(max_length=255)),
                ('public', models.BooleanField(default=True)),
                ('inventory', models.ForeignKey(default=Inventory.models.defaultInventory, on_delete=django.db.models.deletion.CASCADE, to='Inventory.Inventory')),
                ('user', models.ForeignKey(blank=True, default=Inventory.models.defaultUser, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
