1
0
mirror of https://github.com/bitwarden/server synced 2026-01-07 11:03:37 +00:00
This commit is contained in:
Kyle Spearrin
2017-02-28 22:35:48 -05:00
parent e68ba4869d
commit 3e183a74f4
28 changed files with 518 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
CREATE PROCEDURE [dbo].[Organization_Create]
@Id UNIQUEIDENTIFIER,
@UserId UNIQUEIDENTIFIER,
@Name NVARCHAR(50),
@Plan TINYINT,
@MaxUsers SMALLINT,
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
AS
BEGIN
SET NOCOUNT ON
INSERT INTO [dbo].[Organization]
(
[Id],
[UserId],
[Name],
[Plan],
[MaxUsers],
[CreationDate],
[RevisionDate]
)
VALUES
(
@Id,
@UserId,
@Name,
@Plan,
@MaxUsers,
@CreationDate,
@RevisionDate
)
END