blob: f29fff7d5b91c9e0a277e970c889c4b42b43d28f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class AddCreatedAtIndexToDeployments < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
add_concurrent_index :deployments, :created_at
end
def down
remove_concurrent_index :deployments, :created_at
end
end
|