From 7d896709305249a688831cbdef75ef65b5a1e00c Mon Sep 17 00:00:00 2001 From: Mike Casas Date: Thu, 18 Jun 2020 12:58:30 -0400 Subject: [PATCH] Fixed the sql script file name and added update for null values. --- .../{Notification.01.00.01.00.sql => Tenant.01.00.01.01.sql} | 3 +++ 1 file changed, 3 insertions(+) rename Oqtane.Server/Scripts/{Notification.01.00.01.00.sql => Tenant.01.00.01.01.sql} (61%) diff --git a/Oqtane.Server/Scripts/Notification.01.00.01.00.sql b/Oqtane.Server/Scripts/Tenant.01.00.01.01.sql similarity index 61% rename from Oqtane.Server/Scripts/Notification.01.00.01.00.sql rename to Oqtane.Server/Scripts/Tenant.01.00.01.01.sql index 3acdbf29..76af104c 100644 --- a/Oqtane.Server/Scripts/Notification.01.00.01.00.sql +++ b/Oqtane.Server/Scripts/Tenant.01.00.01.01.sql @@ -6,4 +6,7 @@ Version 1.0.1 Notification migration script ALTER TABLE [dbo].[Notification] ADD [SendOn] [datetime] NULL +GO + +UPDATE [dbo].[Notification] SET SendOn = CreatedOn WHERE SendOn IS NULL GO \ No newline at end of file