gitlab-org--gitlab-foss/db/migrate/20151210125932_drop_null_fo...

11 lines
364 B
Ruby
Raw Normal View History

# rubocop:disable all
2015-12-04 11:55:23 +00:00
class DropNullForCiTables < ActiveRecord::Migration
2015-12-23 18:39:44 +00:00
def change
2015-12-04 11:55:23 +00:00
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