summaryrefslogtreecommitdiff
path: root/db/migrate/20151210125932_drop_null_for_ci_tables.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20151210125932_drop_null_for_ci_tables.rb')
-rw-r--r--db/migrate/20151210125932_drop_null_for_ci_tables.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20151210125932_drop_null_for_ci_tables.rb b/db/migrate/20151210125932_drop_null_for_ci_tables.rb
index 0b007430b0c..c520c2ed56f 100644
--- a/db/migrate/20151210125932_drop_null_for_ci_tables.rb
+++ b/db/migrate/20151210125932_drop_null_for_ci_tables.rb
@@ -1,5 +1,5 @@
class DropNullForCiTables < ActiveRecord::Migration
- def up
+ def change
remove_index :ci_variables, :project_id
remove_index :ci_runner_projects, :project_id
change_column_null :ci_triggers, :project_id, true