about summary refs log tree commit diff
path: root/db/post_migrate/20211126000907_drop_account_identity_proofs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20211126000907_drop_account_identity_proofs.rb')
-rw-r--r--db/post_migrate/20211126000907_drop_account_identity_proofs.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/post_migrate/20211126000907_drop_account_identity_proofs.rb b/db/post_migrate/20211126000907_drop_account_identity_proofs.rb
new file mode 100644
index 000000000..44a6f1f08
--- /dev/null
+++ b/db/post_migrate/20211126000907_drop_account_identity_proofs.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+class DropAccountIdentityProofs < ActiveRecord::Migration[5.2]
+  disable_ddl_transaction!
+
+  def up
+    drop_table :account_identity_proofs
+  end
+
+  def down
+    raise ActiveRecord::IrreversibleMigration
+  end
+end