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

16 lines
260 B
Ruby
Raw Normal View History

# 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