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

14 lines
256 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class EnableBtreeGistExtension < ActiveRecord::Migration[6.0]
DOWNTIME = false
def up
execute 'CREATE EXTENSION IF NOT EXISTS btree_gist'
end
def down
execute 'DROP EXTENSION IF EXISTS btree_gist'
end
end