1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/util/Migrator/DbScripts/2020-08-13_00_AllowNullMasterPassword.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
266 B
MySQL
Raw Normal View History

2020-08-13 23:30:10 +02:00
ALTER TABLE
[dbo].[User]
ALTER COLUMN
[MasterPassword] NVARCHAR (300) NULL
GO
IF EXISTS(SELECT * FROM sys.views WHERE [Name] = 'UserView')
BEGIN
DROP VIEW [dbo].[UserView]
END
GO
CREATE VIEW [dbo].[UserView]
AS
SELECT
*
FROM
[dbo].[User]
GO