Fix error when attempting to delete posts that triggered a notification request (#29666)
This commit is contained in:
parent
d4449cc682
commit
954b470fbc
3 changed files with 10 additions and 3 deletions
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class ChangeNotificationRequestLastStatusIdNullable < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
change_column_null :notification_requests, :last_status_id, true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue