From e942d3d97c9b79a47b1a3ef842a34561e528d5b3 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 15 Feb 2021 21:49:50 -0500 Subject: [PATCH] removed rsa keypair from account table, it was a federation relic --- .../20210216022828_remove_private_key_from_accounts.rb | 5 +++++ db/migrate/20210216022902_remove_public_key_from_accounts.rb | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 db/migrate/20210216022828_remove_private_key_from_accounts.rb create mode 100644 db/migrate/20210216022902_remove_public_key_from_accounts.rb diff --git a/db/migrate/20210216022828_remove_private_key_from_accounts.rb b/db/migrate/20210216022828_remove_private_key_from_accounts.rb new file mode 100644 index 00000000..c361b3fe --- /dev/null +++ b/db/migrate/20210216022828_remove_private_key_from_accounts.rb @@ -0,0 +1,5 @@ +class RemovePrivateKeyFromAccounts < ActiveRecord::Migration[6.0] + def change + safety_assured { remove_column :accounts, :private_key, :text } + end +end diff --git a/db/migrate/20210216022902_remove_public_key_from_accounts.rb b/db/migrate/20210216022902_remove_public_key_from_accounts.rb new file mode 100644 index 00000000..c7315a3a --- /dev/null +++ b/db/migrate/20210216022902_remove_public_key_from_accounts.rb @@ -0,0 +1,5 @@ +class RemovePublicKeyFromAccounts < ActiveRecord::Migration[6.0] + def change + safety_assured { remove_column :accounts, :public_key, :text } + end +end