mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Fix column NULL
ness for OrganizationUser table (#1239)
Fix column `NULL`ness for OrganizationUser table in Upgrade script; prior PR I missed in the upgrade script submitted that the ALTER COLUMN statement incorrectly set the column to `NOT NULL` when the table definition had it correctly as `NULL`.
This commit is contained in:
parent
41ec23631a
commit
a2f33176aa
@ -3,7 +3,7 @@ IF COL_LENGTH('[dbo].[OrganizationUser]', 'Email') = 100
|
||||
BEGIN
|
||||
ALTER TABLE [dbo].[OrganizationUser]
|
||||
ALTER COLUMN
|
||||
Email NVARCHAR(256) NOT NULL
|
||||
Email NVARCHAR(256) NULL
|
||||
END
|
||||
GO
|
||||
|
||||
@ -301,4 +301,4 @@ BEGIN
|
||||
OR (@OnlyUsers = 1 AND U.[Email] = @Email)
|
||||
)
|
||||
END
|
||||
GO
|
||||
GO
|
||||
|
Loading…
Reference in New Issue
Block a user