Change account_id non-nullable in lists (#5979)
parent
30d2ea03b0
commit
14c4a33cd9
@ -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 |
Loading…
Reference in new issue