mirror of
https://github.com/bitwarden/server
synced 2026-01-03 00:53:37 +00:00
SubvaultUser APIs and services
This commit is contained in:
8
src/Sql/dbo/Tables/GroupUser.sql
Normal file
8
src/Sql/dbo/Tables/GroupUser.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE [dbo].[GroupUser] (
|
||||
[GroupId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[UserId] UNIQUEIDENTIFIER NOT NULL,
|
||||
CONSTRAINT [PK_GroupUser] PRIMARY KEY CLUSTERED ([GroupId] ASC, [UserId] ASC),
|
||||
CONSTRAINT [FK_GroupUser_Group] FOREIGN KEY ([GroupId]) REFERENCES [dbo].[Group] ([Id]),
|
||||
CONSTRAINT [FK_GroupUser_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user