mirror of
https://github.com/bitwarden/server.git
synced 2024-12-01 13:43:23 +01:00
11 lines
349 B
MySQL
11 lines
349 B
MySQL
|
-- Finalise removal of Group.AccessAll column
|
||
|
-- Add default column value
|
||
|
-- Sprocs already have default value for rollback purposes, this just supports dropping the column itself
|
||
|
|
||
|
IF OBJECT_ID('[dbo].[DF_Group_AccessAll]', 'D') IS NULL
|
||
|
BEGIN
|
||
|
ALTER TABLE [dbo].[Group]
|
||
|
ADD CONSTRAINT [DF_Group_AccessAll] DEFAULT (0) FOR [AccessAll];
|
||
|
END
|
||
|
GO
|