about summary refs log tree commit diff
path: root/db/migrate/20180206000000_change_user_id_nonnullable.rb
blob: 4eecb615457053abeaa4e6c40e72c4f6c1a64c53 (plain) (blame)
1
2
3
4
5
6
class ChangeUserIdNonnullable < ActiveRecord::Migration[5.1]
  def change
    change_column_null :invites, :user_id, false
    change_column_null :web_settings, :user_id, false
  end
end