Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-23 21:39:44 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-23 21:39:59 +0300
commit89aed37eefd7f52d66466e7ee9795218eb49d92c (patch)
tree64e10d41d1a9de2919c2471c654cbb7b0c0da20b /db/migrate/20151210125932_drop_null_for_ci_tables.rb
parent9f69a0b2294bfcba720dc0ae9e1aadbb6d77205d (diff)
Make migrations reversible
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