Fix error when attempting to delete posts that triggered a notification request (#29666)

This commit is contained in:
Claire
2024-03-20 17:48:24 +01:00
committed by GitHub
parent d4449cc682
commit 954b470fbc
3 changed files with 10 additions and 3 deletions

View File

@@ -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