Updated the utils.DumpInfo model to match the database.
- Legacy-Id: 13330
This commit is contained in:
parent
db40ddc231
commit
b5319c576a
20
ietf/utils/migrations/0002_dumpinfo_tz.py
Normal file
20
ietf/utils/migrations/0002_dumpinfo_tz.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.7 on 2017-05-12 08:19
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('utils', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='dumpinfo',
|
||||
name='tz',
|
||||
field=models.CharField(default=b'UTC', max_length=32),
|
||||
),
|
||||
]
|
|
@ -5,4 +5,5 @@ from django.db import models
|
|||
class DumpInfo(models.Model):
|
||||
date = models.DateTimeField()
|
||||
host = models.CharField(max_length=128)
|
||||
tz = models.CharField(max_length=32, default='UTC')
|
||||
|
||||
|
|
Loading…
Reference in a new issue