Commit a7f3ee7c authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'ab/revert-schema-create' into 'master'

Drop partitions_dynamic schema if it exists

See merge request gitlab-org/gitlab!35426
parents 8acc7da0 11c8ac78
---
title: Drop partitions_dynamic schema if it exists
merge_request: 35426
author:
type: other
# 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
...@@ -23453,5 +23453,6 @@ COPY "schema_migrations" (version) FROM STDIN; ...@@ -23453,5 +23453,6 @@ COPY "schema_migrations" (version) FROM STDIN;
20200623185440 20200623185440
20200624075411 20200624075411
20200625045442 20200625045442
20200626130220
\. \.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment