mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
80148d8edd
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.
12 lines
198 B
Ruby
12 lines
198 B
Ruby
class PostMigrateFilters < ActiveRecord::Migration[5.2]
|
|
disable_ddl_transaction!
|
|
|
|
def up
|
|
drop_table :glitch_keyword_mutes if table_exists? :glitch_keyword_mutes
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|
|
|