# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-04 22:56
from __future__ import unicode_literals

import datetime
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('library', '0003_auto_20171204_1153'),
    ]

    operations = [
        migrations.CreateModel(
            name='RentalStatus',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('checked_in_out', models.BooleanField(default=False)),
                ('user', models.CharField(max_length=25, null=True)),
                ('timestamp', models.DateField(default=datetime.datetime(2017, 12, 4, 14, 56, 51, 566118))),
                ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='library.Book')),
            ],
        ),
        migrations.RemoveField(
            model_name='rental_status',
            name='book',
        ),
        migrations.DeleteModel(
            name='Rental_status',
        ),
    ]
