From b5319c576ac0bd133aea66a40734f49aa12d55cc Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 12 May 2017 15:27:23 +0000 Subject: [PATCH] Updated the utils.DumpInfo model to match the database. - Legacy-Id: 13330 --- ietf/utils/migrations/0002_dumpinfo_tz.py | 20 ++++++++++++++++++++ ietf/utils/models.py | 1 + 2 files changed, 21 insertions(+) create mode 100644 ietf/utils/migrations/0002_dumpinfo_tz.py diff --git a/ietf/utils/migrations/0002_dumpinfo_tz.py b/ietf/utils/migrations/0002_dumpinfo_tz.py new file mode 100644 index 000000000..9483ebeae --- /dev/null +++ b/ietf/utils/migrations/0002_dumpinfo_tz.py @@ -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), + ), + ] diff --git a/ietf/utils/models.py b/ietf/utils/models.py index f71f1a8bc..a38d1057b 100644 --- a/ietf/utils/models.py +++ b/ietf/utils/models.py @@ -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')