Change columns in notifications nonnullable (#6764)
This commit is contained in:
parent
fa310695fa
commit
b2a4ffd3a9
5 changed files with 23 additions and 17 deletions
|
@ -0,0 +1,8 @@
|
|||
class ChangeColumnsInNotificationsNonnullable < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
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
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue