diff --git a/src/Altinn.Notifications.Persistence/Migration/v0.23/00-drop-functions.sql b/src/Altinn.Notifications.Persistence/Migration/v0.23/00-drop-functions.sql new file mode 100644 index 00000000..ca13e96b --- /dev/null +++ b/src/Altinn.Notifications.Persistence/Migration/v0.23/00-drop-functions.sql @@ -0,0 +1 @@ +DROP FUNCTION IF EXISTS notifications.getorder_includestatus(uuid, text); diff --git a/src/Altinn.Notifications.Persistence/Migration/v0.23/01-alter-types.sql b/src/Altinn.Notifications.Persistence/Migration/v0.23/01-alter-types.sql new file mode 100644 index 00000000..518331ad --- /dev/null +++ b/src/Altinn.Notifications.Persistence/Migration/v0.23/01-alter-types.sql @@ -0,0 +1,6 @@ +ALTER TYPE smsnotificationresulttype ADD VALUE 'Delivered'; +ALTER TYPE smsnotificationresulttype ADD VALUE 'Failed_BarredReceiver'; +ALTER TYPE smsnotificationresulttype ADD VALUE 'Failed_Deleted'; +ALTER TYPE smsnotificationresulttype ADD VALUE 'Failed_Expired'; +ALTER TYPE smsnotificationresulttype ADD VALUE 'Failed_Undelivered'; +ALTER TYPE smsnotificationresulttype ADD VALUE 'Failed_Rejected'; \ No newline at end of file