This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/post_migrate/20210308133107_remove_subsc...

10 lines
270 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveSubscriptionExpiresAtFromAccounts < ActiveRecord::Migration[5.2]
def change
safety_assured do
remove_column :accounts, :subscription_expires_at, :datetime, null: true, default: nil, precision: nil
end
end
end