1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00

add columns to org table in db script

This commit is contained in:
Kyle Spearrin 2017-10-28 21:03:26 -04:00
parent 1e60c1d545
commit 05ece5dbd5

View File

@ -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]