Split custom filter migration script using the post-deployment migration system

There were some concerns with the custom filter migration script dropping a table,
thus making it unsafe to run in a zero-downtime setting. Upstream introduced
a way to run migrations after deployment, so revisit the old migration script to
make use of this.
This commit is contained in:
Thibaut Girka
2018-08-13 18:17:48 +02:00
committed by ThibG
parent 494eaab5b1
commit 80148d8edd
3 changed files with 22 additions and 11 deletions

View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2018_08_12_123222) do
ActiveRecord::Schema.define(version: 2018_08_13_160548) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"