gitlab-org--gitlab-foss/db/migrate/20200515152649_enable_btree_gist_extension.rb

15 lines
260 B
Ruby

# frozen_string_literal: true
class EnableBtreeGistExtension < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
create_extension :btree_gist
end
def down
drop_extension :btree_gist
end
end