about summary refs log tree commit diff
path: root/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb
blob: 53e24ef261426a3bcd4d260d4e4fdc3f366b0a47 (plain) (blame)
1
2
3
4
5
6
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