20180206000000_change_user_id_nonnullable.rb 252 B

12345678910
  1. # frozen_string_literal: true
  2. class ChangeUserIdNonnullable < ActiveRecord::Migration[5.2]
  3. def change
  4. safety_assured do
  5. change_column_null :invites, :user_id, false
  6. change_column_null :web_settings, :user_id, false
  7. end
  8. end
  9. end