diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-21 04:08:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-21 04:08:00 +0200 |
commit | bd87e6667975bc3b5bfaf3e1cdff97e041ed4c98 (patch) | |
tree | 911345afb1da6dec8b0fce05d91eb915076e6a40 /db/post_migrate | |
parent | 4bd58b7f2da369a608eacb97f832728ddc139ce8 (diff) |
Remove WebSub subscriptions (#11303)
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20190715031050_drop_subscriptions.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/post_migrate/20190715031050_drop_subscriptions.rb b/db/post_migrate/20190715031050_drop_subscriptions.rb new file mode 100644 index 000000000..3719afe4a --- /dev/null +++ b/db/post_migrate/20190715031050_drop_subscriptions.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class DropSubscriptions < ActiveRecord::Migration[5.2] + def up + drop_table :subscriptions + end + + def down + raise ActiveRecord::IrreversibleMigration + end +end |