debian-mirror-gitlab/db/migrate/20200626130220_drop_partitions_dynamic_schema_if_exists.rb

15 lines
336 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# 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