summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-09-15 22:43:23 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-09-15 22:45:48 -0300
commita655c5f2e967a86985498a99d1029adff4e8b27a (patch)
tree22a54a3afb349fbc505e2344654c64333c4e7243
parent1038ef54d0405ae08eb3f413f936197f0775987b (diff)
downloadgitlab-ce-fix/irreversible-migration.tar.gz
Fix undefined method when reverting migration RemoveProjectsPushesSinceGcfix/irreversible-migration
-rw-r--r--db/migrate/20160913162434_remove_projects_pushes_since_gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160913162434_remove_projects_pushes_since_gc.rb b/db/migrate/20160913162434_remove_projects_pushes_since_gc.rb
index c5b8c35e961..18ea9d43a43 100644
--- a/db/migrate/20160913162434_remove_projects_pushes_since_gc.rb
+++ b/db/migrate/20160913162434_remove_projects_pushes_since_gc.rb
@@ -14,6 +14,6 @@ class RemoveProjectsPushesSinceGc < ActiveRecord::Migration
end
def down
- add_column_with_default! :projects, :pushes_since_gc, :integer, default: 0
+ add_column_with_default :projects, :pushes_since_gc, :integer, default: 0
end
end