about summary refs log tree commit diff
path: root/db/post_migrate/20190715031050_drop_subscriptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20190715031050_drop_subscriptions.rb')
-rw-r--r--db/post_migrate/20190715031050_drop_subscriptions.rb11
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