# Generated by Django 2.1.2 on 2018-11-20 11:24

from django.db import migrations, models
import uuid


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='BookInstance',
            fields=[
                ('uuid', models.UUIDField(default=uuid.uuid4, help_text='Unique ID for this particular book across whole library', primary_key=True, serialize=False)),
                ('due_date', models.DateField(blank=True, null=True)),
                ('is_assigned', models.BooleanField(default=False)),
            ],
        ),
        migrations.CreateModel(
            name='Books',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('author', models.CharField(max_length=200)),
                ('nou_avaible', models.PositiveIntegerField(default=1)),
                ('nou_borrowed', models.PositiveIntegerField(default=0)),
                ('nou_registered', models.PositiveIntegerField(default=1)),
            ],
        ),
    ]
