summaryrefslogtreecommitdiff
path: root/main/migrations/0046_auto__add_field_repo_staging.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-07 23:22:18 -0500
committerDan McGee <dan@archlinux.org>2012-08-07 23:22:18 -0500
commitb7a03d89d126989bf53005404759482e17163991 (patch)
tree31597cdd0c0a070708b73b184f25a43ddf82aa97 /main/migrations/0046_auto__add_field_repo_staging.py
parentdfad3c04e905c0058e6acdbdb229c8cc4ed78cd4 (diff)
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/0046_auto__add_field_repo_staging.py')
-rw-r--r--main/migrations/0046_auto__add_field_repo_staging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/migrations/0046_auto__add_field_repo_staging.py b/main/migrations/0046_auto__add_field_repo_staging.py
index 40c3cb20..0daaf69b 100644
--- a/main/migrations/0046_auto__add_field_repo_staging.py
+++ b/main/migrations/0046_auto__add_field_repo_staging.py
@@ -7,7 +7,7 @@ from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
- db.add_column('repos', 'staging', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
+ db.add_column('repos', 'staging', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=True)
def backwards(self, orm):
db.delete_column('repos', 'staging')