1
0
mirror of https://github.com/bitwarden/server synced 2025-12-31 07:33:43 +00:00

reimport db after subvault => collection rename

This commit is contained in:
Kyle Spearrin
2017-04-27 09:24:46 -04:00
parent c6ac82dadd
commit b2bebda9ed
45 changed files with 123 additions and 123 deletions

View File

@@ -0,0 +1,10 @@
CREATE TABLE [dbo].[Collection] (
[Id] UNIQUEIDENTIFIER NOT NULL,
[OrganizationId] UNIQUEIDENTIFIER NOT NULL,
[Name] VARCHAR (MAX) NOT NULL,
[CreationDate] DATETIME2 (7) NOT NULL,
[RevisionDate] DATETIME2 (7) NOT NULL,
CONSTRAINT [PK_Collection] PRIMARY KEY CLUSTERED ([Id] ASC),
CONSTRAINT [FK_Collection_Organization] FOREIGN KEY ([OrganizationId]) REFERENCES [dbo].[Organization] ([Id]) ON DELETE CASCADE
);