2023-03-27 16:09:10 +02:00
|
|
|
class ChangeColumnsInNotificationsNonnullable < ActiveRecord::Migration[5.2]
|
2018-03-24 12:51:28 +01:00
|
|
|
def change
|
2019-12-29 05:39:08 +01:00
|
|
|
safety_assured do
|
|
|
|
change_column_null :notifications, :activity_id, false
|
|
|
|
change_column_null :notifications, :activity_type, false
|
|
|
|
change_column_null :notifications, :account_id, false
|
|
|
|
change_column_null :notifications, :from_account_id, false
|
|
|
|
end
|
2018-03-24 12:51:28 +01:00
|
|
|
end
|
|
|
|
end
|