blob: f3ed20fd243ddc4fb56bd5fe09d0816ef63f34d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class AddIndexOnCiRunnersRunnerType < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
add_concurrent_index :ci_runners, :runner_type
end
def down
# rubocop:disable Migration/RemoveIndex
remove_index :ci_runners, :runner_type
end
end
|