debian-mirror-gitlab/db/migrate/20200626130220_drop_partitions_dynamic_schema_if_exists.rb
2020-08-09 17:44:08 +05:30

15 lines
336 B
Ruby

# frozen_string_literal: true
class DropPartitionsDynamicSchemaIfExists < ActiveRecord::Migration[6.0]
DOWNTIME = false
def up
# This targets GitLab.com only - we deployed a migration to create this schema, but reverted the change
execute 'DROP SCHEMA IF EXISTS partitions_dynamic'
end
def down
# no-op
end
end