mirror of
https://github.com/bitwarden/server
synced 2026-01-18 08:23:21 +00:00
SubvaultUser APIs and services
This commit is contained in:
8
src/Sql/dbo/Tables/SubvaultGroup.sql
Normal file
8
src/Sql/dbo/Tables/SubvaultGroup.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE [dbo].[SubvaultGroup] (
|
||||
[SubvaultId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[GroupId] UNIQUEIDENTIFIER NOT NULL,
|
||||
CONSTRAINT [PK_SubvaultGroup] PRIMARY KEY CLUSTERED ([SubvaultId] ASC, [GroupId] ASC),
|
||||
CONSTRAINT [FK_SubvaultGroup_Group] FOREIGN KEY ([GroupId]) REFERENCES [dbo].[Group] ([Id]),
|
||||
CONSTRAINT [FK_SubvaultGroup_Subvault] FOREIGN KEY ([SubvaultId]) REFERENCES [dbo].[Subvault] ([Id])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user