Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200626130220_drop_partitions_dynamic_schema_if_exists.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa31bc8ff0e5ad1df350e92dcc4f353f7019ab3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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