mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[PM-10368] Drop Group.AccessAll (#4700)
- Add default constraint - Update sprocs to remove column - Drop column
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
-- 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
|
Reference in New Issue
Block a user