blob: 5fd51cb65f16fdaae2e2bce3ecb81457197eb3ed (
plain)
1
2
3
4
5
6
7
8
9
|
class RemoveBuildsEnableIndexOnProjects < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
remove_index :projects, column: :builds_enabled if index_exists?(:projects, :builds_enabled)
end
end
|