Skip to content

Commit

Permalink
CON-1712-fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
shomavg committed May 4, 2020
1 parent dc3d4ef commit 137831e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
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

IF (NOT EXISTS (SELECT 1 FROM [employer_account].[EmployerAgreementTemplate] WHERE PartialViewName = '_Agreement_V2'))
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

IF (NOT EXISTS (SELECT 1 FROM [employer_account].[EmployerAgreementTemplate] WHERE PartialViewName = '_Agreement_V3'))
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

0 comments on commit 137831e

Please sign in to comment.