diff options
Diffstat (limited to 'db/post_migrate/20190715031050_drop_subscriptions.rb')
-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 |