mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
restructure seed
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
CREATE OR ALTER PROCEDURE dbo.USP_AddUserCredential(
|
||||
@UserAccountId uniqueidentifier,
|
||||
@Hash nvarchar(max)
|
||||
)
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
SET XACT_ABORT ON;
|
||||
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
INSERT INTO dbo.UserCredential
|
||||
(UserAccountId, Hash)
|
||||
VALUES
|
||||
(@UserAccountId, @Hash);
|
||||
|
||||
COMMIT TRANSACTION;
|
||||
END;
|
||||
Reference in New Issue
Block a user