debian-mirror-gitlab/db/migrate/20200515152649_enable_btree_gist_extension.rb

16 lines
260 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# 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