From 339292f536da54c006b19cddf0bf156af1f330f1 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Mon, 29 Mar 2021 17:28:36 +0200 Subject: [PATCH] Fix emergency access migration not working (#1244) --- .../2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Migrator/DbScripts/2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql b/util/Migrator/DbScripts/2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql index 8640577412..439755c090 100644 --- a/util/Migrator/DbScripts/2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql +++ b/util/Migrator/DbScripts/2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql @@ -3,7 +3,7 @@ IF COL_LENGTH('[dbo].[EmergencyAccess]', 'Email') = 100 BEGIN ALTER TABLE [dbo].[EmergencyAccess] ALTER COLUMN - Email NVARCHAR(256) NOT NULL + Email NVARCHAR(256) NULL END GO