mirror of
https://github.com/bitwarden/server
synced 2025-12-29 22:54:00 +00:00
event fixes
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
[CollectionId] UNIQUEIDENTIFIER NULL,
|
||||
[GroupId] UNIQUEIDENTIFIER NULL,
|
||||
[OrganizationUserId] UNIQUEIDENTIFIER NULL,
|
||||
[ActingUserId] UNIQUEIDENTIFIER NULL,
|
||||
[Date] DATETIME2 (7) NOT NULL,
|
||||
CONSTRAINT [PK_Event] PRIMARY KEY CLUSTERED ([Id] ASC)
|
||||
);
|
||||
|
||||
|
||||
GO
|
||||
CREATE UNIQUE NONCLUSTERED INDEX [IX_Event_Date]
|
||||
ON [dbo].[Event]([Date] ASC);
|
||||
CREATE NONCLUSTERED INDEX [IX_Event_DateOrganizationIdUserId]
|
||||
ON [dbo].[Event]([Date] ASC, [OrganizationId] ASC, [UserId] ASC);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user