2015-12-23 02:04:40 +05:30
|
|
|
class DropNullForCiTables < ActiveRecord::Migration
|
2016-01-14 18:37:52 +05:30
|
|
|
def change
|
2015-12-23 02:04:40 +05:30
|
|
|
remove_index :ci_variables, :project_id
|
|
|
|
remove_index :ci_runner_projects, :project_id
|
|
|
|
change_column_null :ci_triggers, :project_id, true
|
|
|
|
change_column_null :ci_variables, :project_id, true
|
|
|
|
change_column_null :ci_runner_projects, :project_id, true
|
|
|
|
end
|
|
|
|
end
|