Change account_id non-nullable in lists (#5979)

This commit is contained in:
Akihiko Odaki 2017-12-12 12:11:17 +09:00 committed by Eugen Rochko
parent 30d2ea03b0
commit 14c4a33cd9
3 changed files with 10 additions and 3 deletions

View file

@ -0,0 +1,7 @@
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