mirror of
https://github.com/bitwarden/server
synced 2026-01-03 17:14:00 +00:00
move Id assignment to after insert
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
SET @Id = SCOPE_IDENTITY();
|
||||
|
||||
INSERT INTO [dbo].[SsoConfig]
|
||||
(
|
||||
@@ -28,4 +27,6 @@ BEGIN
|
||||
@CreationDate,
|
||||
@RevisionDate
|
||||
)
|
||||
|
||||
SET @Id = SCOPE_IDENTITY();
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user