mirror of
https://github.com/bitwarden/server.git
synced 2025-01-18 21:11:21 +01:00
10 lines
331 B
Transact-SQL
10 lines
331 B
Transact-SQL
CREATE TABLE [dbo].[History] (
|
|
[Id] BIGINT IDENTITY (1, 1) NOT NULL,
|
|
[UserId] UNIQUEIDENTIFIER NOT NULL,
|
|
[CipherId] UNIQUEIDENTIFIER NOT NULL,
|
|
[Event] TINYINT NOT NULL,
|
|
[Date] DATETIME2 (7) NOT NULL,
|
|
CONSTRAINT [PK_CipherHistory] PRIMARY KEY CLUSTERED ([Id] ASC)
|
|
);
|
|
|