about summary refs log tree commit diff
path: root/db/migrate/20171201000000_change_account_id_nonnullable_in_lists.rb
blob: 120f744026418bceb4b982ac6d9165bb41dfaa96 (plain) (blame)
1
2
3
4
5
6
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