This repository has been archived on 2023-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20171201000000_change_account_id_nonnullable_in_lists.rb

8 lines
209 B
Ruby
Raw Normal View History

require Rails.root.join('lib', 'mastodon', 'migration_helpers')
class ChangeAccountIdNonnullableInLists < ActiveRecord::Migration[5.1]
def change
change_column_null :lists, :account_id, false
end
end