Python-100-Days/Day41-55/car/search/migrations/0001_initial.py

31 lines
893 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-05-24 01:16
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='CarRecord',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('carno', models.CharField(max_length=7)),
('reason', models.CharField(max_length=50)),
('date', models.DateTimeField(db_column='happen_date')),
('punlish', models.CharField(max_length=50)),
('isdone', models.BooleanField(default=False)),
],
options={
'db_table': 'tb_car_record',
},
),
]