chinwagsocial/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