123456789101112131415161718192021222324252627282930313233343536 |
- # -*- coding: utf-8 -*-
- # Generated by Django 1.11.5 on 2018-04-06 12:22
- from __future__ import unicode_literals
- from django.db import migrations, models
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- ]
- operations = [
- migrations.CreateModel(
- name='Book',
- fields=[
- ('ID', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.TextField(max_length=128)),
- ('description', models.TextField(max_length=256, null=True)),
- ('category', models.TextField(max_length=32)),
- ('status', models.TextField(max_length=32)),
- ('borrower', models.TextField(max_length=128, null=True)),
- ('borrow_time', models.DateField(null=True)),
- ],
- ),
- migrations.CreateModel(
- name='User',
- fields=[
- ('ID', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.TextField(max_length=32)),
- ('phone', models.IntegerField()),
- ],
- ),
- ]
|