2023-03-27 15:09:10 +01:00
|
|
|
class ChangeUserIdNonnullable < ActiveRecord::Migration[5.2]
|
2018-02-07 15:35:44 +00:00
|
|
|
def change
|
2020-01-10 20:52:24 +00:00
|
|
|
safety_assured do
|
|
|
|
change_column_null :invites, :user_id, false
|
|
|
|
change_column_null :web_settings, :user_id, false
|
|
|
|
end
|
2018-02-07 15:35:44 +00:00
|
|
|
end
|
|
|
|
end
|