2020-07-20 11:09:10 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class EnableBtreeGistExtension < ActiveRecord::Migration[6.0]
|
2020-09-04 14:08:48 -04:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
2020-07-20 11:09:10 -04:00
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
2020-09-04 14:08:48 -04:00
|
|
|
create_extension :btree_gist
|
2020-07-20 11:09:10 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
2020-09-04 14:08:48 -04:00
|
|
|
drop_extension :btree_gist
|
2020-07-20 11:09:10 -04:00
|
|
|
end
|
|
|
|
end
|