From c70bc673477b9615554850c3232ecb54821f3521 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 18 Oct 2023 12:47:44 +0200 Subject: [PATCH] Include other notification types to migration --- db/migrate/20231011103114_migrate_notification_to_noticed.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20231011103114_migrate_notification_to_noticed.rb b/db/migrate/20231011103114_migrate_notification_to_noticed.rb index a4ca27c72..e417d211b 100644 --- a/db/migrate/20231011103114_migrate_notification_to_noticed.rb +++ b/db/migrate/20231011103114_migrate_notification_to_noticed.rb @@ -22,6 +22,7 @@ class MigrateNotificationToNoticed < ActiveRecord::Migration[7.0] notification = user_notification.notification.dup new_type = type_mapping[notification.type_of] + new_type ||= 'GeneralNotification' params = { title: notification.title,