mirror of
https://github.com/bitwarden/server.git
synced 2024-12-05 14:23:30 +01:00
20 lines
266 B
Transact-SQL
20 lines
266 B
Transact-SQL
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
|