diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-03-12 05:25:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 05:25:24 +0100 |
commit | 5cc45d22d3c5c326917d1a02a09f2afae83d4332 (patch) | |
tree | 5e3f5458b986d0501b60e17c4ea1cded6fe3186b /db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb | |
parent | f2ca6c7a172deb9309c793adb87cdc4b46974a44 (diff) |
Remove subscription_expires_at leftover from OStatus (#15857)
Diffstat (limited to 'db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb')
-rw-r--r-- | db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb b/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb new file mode 100644 index 000000000..53e24ef26 --- /dev/null +++ b/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb @@ -0,0 +1,7 @@ +class RemoveSubscriptionExpiresAtFromAccounts < ActiveRecord::Migration[5.0] + def change + safety_assured do + remove_column :accounts, :subscription_expires_at, :datetime, null: true, default: nil + end + end +end |