From 137831efabf49baafe933fd4e37375d38c91036f Mon Sep 17 00:00:00 2001 From: Shoma Gujjar Date: Mon, 4 May 2020 14:38:50 +0100 Subject: [PATCH] CON-1712-fix build --- .../Scripts/PostDeployment/CreateAgreementTemplates.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SFA.DAS.EAS.Employer_Account.Database/Scripts/PostDeployment/CreateAgreementTemplates.sql b/src/SFA.DAS.EAS.Employer_Account.Database/Scripts/PostDeployment/CreateAgreementTemplates.sql index cf55ca4139..adc802990d 100644 --- a/src/SFA.DAS.EAS.Employer_Account.Database/Scripts/PostDeployment/CreateAgreementTemplates.sql +++ b/src/SFA.DAS.EAS.Employer_Account.Database/Scripts/PostDeployment/CreateAgreementTemplates.sql @@ -2,7 +2,7 @@ BEGIN SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] ON INSERT INTO [employer_account].[EmployerAgreementTemplate] (Id, PartialViewName, VersionNumber, CreatedDate, PublishedDate) - VALUES (1, '_Agreement_V1', 1, GETDATE(), DateTime(2017, 5, 1)) + VALUES (1, '_Agreement_V1', 1, GETDATE(), Convert(DateTime,'2017, 5, 1')) SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] OFF END @@ -10,7 +10,7 @@ IF (NOT EXISTS (SELECT 1 FROM [employer_account].[EmployerAgreementTemplate] WHE BEGIN SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] ON INSERT INTO [employer_account].[EmployerAgreementTemplate] (Id, PartialViewName, VersionNumber, CreatedDate, PublishedDate) - VALUES (2, '_Agreement_V2', 2, GETDATE(), DateTime(2018, 5, 1)) + VALUES (2, '_Agreement_V2', 2, GETDATE(), Convert(DateTime,'2018, 5, 1')) SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] OFF END @@ -18,6 +18,6 @@ IF (NOT EXISTS (SELECT 1 FROM [employer_account].[EmployerAgreementTemplate] WHE BEGIN SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] ON INSERT INTO [employer_account].[EmployerAgreementTemplate] (Id, PartialViewName, VersionNumber, CreatedDate, PublishedDate) - VALUES (4, '_Agreement_V3', 3, GETDATE(), DateTime(2020, 1, 9)) + VALUES (4, '_Agreement_V3', 3, GETDATE(), Convert(DateTime,'2020, 1, 9')) SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] OFF END \ No newline at end of file