Permalink
Browse files

Fix 0010 DB migration

  • Loading branch information...
1 parent 01317c6 commit 4960eeb2f55ff80e00b0599dc0bde15acfe7ac8b @tobami committed Aug 24, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 codespeed/migrations/0010_auto__add_field_benchmark_default_on_comparison.py
@@ -5,9 +5,9 @@
from django.db import models
class Migration(SchemaMigration):
+ no_dry_run = True
def forwards(self, orm):
-
# Adding field 'Benchmark.default_on_comparison'
db.add_column('codespeed_benchmark', 'default_on_comparison', self.gf('django.db.models.fields.BooleanField')(default=True), keep_default=False)
for bench in orm.Benchmark.objects.all():
@@ -16,7 +16,6 @@ def forwards(self, orm):
def backwards(self, orm):
-
# Deleting field 'Benchmark.default_on_comparison'
db.delete_column('codespeed_benchmark', 'default_on_comparison')

0 comments on commit 4960eeb

Please sign in to comment.