diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-23 21:39:44 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-23 21:39:59 +0300 |
commit | 89aed37eefd7f52d66466e7ee9795218eb49d92c (patch) | |
tree | 64e10d41d1a9de2919c2471c654cbb7b0c0da20b /db/migrate/20151210125932_drop_null_for_ci_tables.rb | |
parent | 9f69a0b2294bfcba720dc0ae9e1aadbb6d77205d (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.rb | 2 |
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 |