drought_backup/policy/migrations/0001_initial.py

28 lines
977 B
Python
Raw Normal View History

2018-12-08 12:22:03 +00:00
# Generated by Django 2.0.7 on 2018-07-10 03:15
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='DroughtSpi',
fields=[
('id', models.UUIDField(default=uuid.UUID('cf57e7d2-1a85-4527-a56e-2fce710ce5da'), primary_key=True, serialize=False, verbose_name='id')),
('code', models.CharField(max_length=256, verbose_name='区站号')),
('year', models.IntegerField(blank=True, null=True, verbose_name='年份')),
('month', models.IntegerField(blank=True, null=True, verbose_name='月份')),
('value', models.FloatField(verbose_name='')),
('added', models.DateTimeField(auto_now_add=True, null=True)),
('updated', models.DateTimeField(auto_now=True, null=True)),
],
),
]