summaryrefslogtreecommitdiffstats
path: root/main/migrations/0048_auto__add_field_repo_bugs_category.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/0048_auto__add_field_repo_bugs_category.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/0048_auto__add_field_repo_bugs_category.py')
-rw-r--r--main/migrations/0048_auto__add_field_repo_bugs_category.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/migrations/0048_auto__add_field_repo_bugs_category.py b/main/migrations/0048_auto__add_field_repo_bugs_category.py
index 3057512..3e61f7e 100644
--- a/main/migrations/0048_auto__add_field_repo_bugs_category.py
+++ b/main/migrations/0048_auto__add_field_repo_bugs_category.py
@@ -7,7 +7,7 @@ from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
- db.add_column('repos', 'bugs_category', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False)
+ db.add_column('repos', 'bugs_category', self.gf('django.db.models.fields.SmallIntegerField')(default=2), keep_default=False)
def backwards(self, orm):
db.delete_column('repos', 'bugs_category')