mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 18:42:49 -05:00
added org flag for UseEvents
This commit is contained in:
@ -218,5 +218,6 @@
|
||||
<Build Include="dbo\Stored Procedures\User_BumpAccountRevisionDateByCipherId.sql" />
|
||||
<Build Include="dbo\Tables\Event.sql" />
|
||||
<Build Include="dbo\Stored Procedures\Event_Create.sql" />
|
||||
<Build Include="dbo\Views\EventView.sql" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -14,6 +14,7 @@
|
||||
@MaxCollections SMALLINT,
|
||||
@UseGroups BIT,
|
||||
@UseDirectory BIT,
|
||||
@UseEvents BIT,
|
||||
@UseTotp BIT,
|
||||
@SelfHost BIT,
|
||||
@UsersGetPremium BIT,
|
||||
@ -48,6 +49,7 @@ BEGIN
|
||||
[MaxCollections],
|
||||
[UseGroups],
|
||||
[UseDirectory],
|
||||
[UseEvents],
|
||||
[UseTotp],
|
||||
[SelfHost],
|
||||
[UsersGetPremium],
|
||||
@ -79,6 +81,7 @@ BEGIN
|
||||
@MaxCollections,
|
||||
@UseGroups,
|
||||
@UseDirectory,
|
||||
@UseEvents,
|
||||
@UseTotp,
|
||||
@SelfHost,
|
||||
@UsersGetPremium,
|
||||
|
@ -14,6 +14,7 @@
|
||||
@MaxCollections SMALLINT,
|
||||
@UseGroups BIT,
|
||||
@UseDirectory BIT,
|
||||
@UseEvents BIT,
|
||||
@UseTotp BIT,
|
||||
@SelfHost BIT,
|
||||
@UsersGetPremium BIT,
|
||||
@ -48,6 +49,7 @@ BEGIN
|
||||
[MaxCollections] = @MaxCollections,
|
||||
[UseGroups] = @UseGroups,
|
||||
[UseDirectory] = @UseDirectory,
|
||||
[UseEvents] = @UseEvents,
|
||||
[UseTotp] = @UseTotp,
|
||||
[SelfHost] = @SelfHost,
|
||||
[UsersGetPremium] = @UsersGetPremium,
|
||||
|
@ -14,6 +14,7 @@
|
||||
[MaxCollections] SMALLINT NULL,
|
||||
[UseGroups] BIT NOT NULL,
|
||||
[UseDirectory] BIT NOT NULL,
|
||||
[UseEvents] BIT NOT NULL,
|
||||
[UseTotp] BIT NOT NULL,
|
||||
[SelfHost] BIT NOT NULL,
|
||||
[UsersGetPremium] BIT NOT NULL,
|
||||
|
6
src/Sql/dbo/Views/EventView.sql
Normal file
6
src/Sql/dbo/Views/EventView.sql
Normal file
@ -0,0 +1,6 @@
|
||||
CREATE VIEW [dbo].[EventView]
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[Event]
|
@ -7,6 +7,7 @@ SELECT
|
||||
O.[Enabled],
|
||||
O.[UseGroups],
|
||||
O.[UseDirectory],
|
||||
O.[UseEvents],
|
||||
O.[UseTotp],
|
||||
O.[SelfHost],
|
||||
O.[UsersGetPremium],
|
||||
|
Reference in New Issue
Block a user