-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into CON-2182-Finance-content-api-banner
- Loading branch information
Showing
4 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,8 @@ | |
DECLARE @agreementVersion INT | ||
SET IDENTITY_INSERT [employer_account].[Account] ON | ||
INSERT INTO [employer_account].[Account] (Id, HashedId, PublicHashedId, Name, CreatedDate) | ||
VALUES (@accountId, @accountHashedId, @accountPublicHashedId, @legalEntityName, GETDATE()) | ||
INSERT INTO [employer_account].[Account] (Id, HashedId, PublicHashedId, Name, CreatedDate, ApprenticeshipEmployerType) | ||
VALUES (@accountId, @accountHashedId, @accountPublicHashedId, @legalEntityName, GETDATE(), 1) | ||
SET IDENTITY_INSERT [employer_account].[Account] OFF | ||
INSERT INTO [employer_account].[Membership] (AccountId, UserId, Role) | ||
|
@@ -65,7 +65,7 @@ DECLARE @userRef UNIQUEIDENTIFIER = '87df36f4-78ad-47c7-84d7-900ef4c39920' | |
|
||
IF (NOT EXISTS (SELECT 1 FROM [employer_account].[User] WHERE UserRef = @userRef)) | ||
BEGIN | ||
EXECUTE [employer_account].[UpsertUser] @userRef, '[email protected]', 'Test', 'Account' | ||
EXECUTE [employer_account].[UpsertUser] @userRef, '[email protected]', 'Test', 'Account' , null | ||
END | ||
|
||
DECLARE @userId BIGINT = (SELECT Id FROM [employer_account].[User] WHERE UserRef = @userRef) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters