mirror of
https://github.com/bitwarden/server
synced 2026-01-04 01:23:25 +00:00
Stub out new org/subvault sharing tables
This commit is contained in:
8
src/Sql/dbo/Tables/Favorite.sql
Normal file
8
src/Sql/dbo/Tables/Favorite.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE [dbo].[Favorite] (
|
||||
[UserId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[CipherId] UNIQUEIDENTIFIER NOT NULL,
|
||||
CONSTRAINT [PK_Favorite] PRIMARY KEY CLUSTERED ([UserId] ASC, [CipherId] ASC),
|
||||
CONSTRAINT [FK_Favorite_Cipher] FOREIGN KEY ([CipherId]) REFERENCES [dbo].[Cipher] ([Id]),
|
||||
CONSTRAINT [FK_Favorite_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user