summaryrefslogtreecommitdiffstats
path: root/main/migrations/0037_auto__add_field_userprofile_time_zone.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-08 06:22:18 +0200
committerDan McGee <dan@archlinux.org>2012-08-08 06:22:18 +0200
commitb7a03d89d126989bf53005404759482e17163991 (patch)
tree31597cdd0c0a070708b73b184f25a43ddf82aa97 /main/migrations/0037_auto__add_field_userprofile_time_zone.py
parentdfad3c04e905c0058e6acdbdb229c8cc4ed78cd4 (diff)
downloadarchweb-b7a03d89d126989bf53005404759482e17163991.tar.gz
archweb-b7a03d89d126989bf53005404759482e17163991.tar.xz
Push more default values down into the database
This makes it easier to do manual manipulation/insertion/etc. at the database level, as well as just making things act more sane from an overall software stack perspective. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/migrations/0037_auto__add_field_userprofile_time_zone.py')
-rw-r--r--main/migrations/0037_auto__add_field_userprofile_time_zone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/migrations/0037_auto__add_field_userprofile_time_zone.py b/main/migrations/0037_auto__add_field_userprofile_time_zone.py
index 9b9b8be..3a65eac 100644
--- a/main/migrations/0037_auto__add_field_userprofile_time_zone.py
+++ b/main/migrations/0037_auto__add_field_userprofile_time_zone.py
@@ -8,7 +8,7 @@ class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'UserProfile.time_zone'
- db.add_column('user_profiles', 'time_zone', self.gf('django.db.models.fields.CharField')(default='UTC', max_length=100), keep_default=False)
+ db.add_column('user_profiles', 'time_zone', self.gf('django.db.models.fields.CharField')(default='UTC', max_length=100), keep_default=True)
def backwards(self, orm):
# Deleting field 'UserProfile.time_zone'