blob: c520c2ed56f67e2f08d91fa29174d12bcb413ece (
plain)
1
2
3
4
5
6
7
8
9
|
class DropNullForCiTables < ActiveRecord::Migration
def change
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
|