mirror of
https://github.com/bitwarden/server.git
synced 2024-12-26 17:37:36 +01:00
add columns to org table in db script
This commit is contained in:
parent
1e60c1d545
commit
05ece5dbd5
@ -121,6 +121,19 @@ BEGIN
|
||||
END
|
||||
GO
|
||||
|
||||
IF COL_LENGTH('[dbo].[Organization]', 'BusinessAddress1') IS NULL
|
||||
BEGIN
|
||||
ALTER TABLE
|
||||
[dbo].[Organization]
|
||||
ADD
|
||||
[BusinessAddress1] NVARCHAR(50) NULL,
|
||||
[BusinessAddress2] NVARCHAR(50) NULL,
|
||||
[BusinessAddress3] NVARCHAR(50) NULL,
|
||||
[BusinessCountry] VARCHAR(2) NULL,
|
||||
[BusinessTaxNumber] NVARCHAR(30) NULL
|
||||
END
|
||||
GO
|
||||
|
||||
IF OBJECT_ID('[dbo].[Organization_Create]') IS NOT NULL
|
||||
BEGIN
|
||||
DROP PROCEDURE [dbo].[Organization_Create]
|
||||
|
Loading…
Reference in New Issue
Block a user