bastodon/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb

7 lignes
223 o
Ruby

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