diff --git a/src/Altinn.Notifications.Core/Enums/EmailNotificationResultType.cs b/src/Altinn.Notifications.Core/Enums/EmailNotificationResultType.cs index 69d753cd..835d01d3 100644 --- a/src/Altinn.Notifications.Core/Enums/EmailNotificationResultType.cs +++ b/src/Altinn.Notifications.Core/Enums/EmailNotificationResultType.cs @@ -33,5 +33,10 @@ public enum EmailNotificationResultType /// /// Invalid format for email address /// - Failed_InvalidEmailFormat + Failed_InvalidEmailFormat, + + /// + /// Failed, unknown reason + /// + Failed } diff --git a/src/Altinn.Notifications.Persistence/Migration/v0.11/01-alter-enum.sql b/src/Altinn.Notifications.Persistence/Migration/v0.11/01-alter-enum.sql new file mode 100644 index 00000000..52aab181 --- /dev/null +++ b/src/Altinn.Notifications.Persistence/Migration/v0.11/01-alter-enum.sql @@ -0,0 +1 @@ +ALTER TYPE emailnotificationresulttype ADD VALUE IF NOT EXISTS 'Failed';