mirror of
https://github.com/bitwarden/server.git
synced 2025-01-10 20:07:56 +01:00
[bug] Drop unused db column UsesCryptoAgent (#1704)
This commit is contained in:
parent
77f9f5fe72
commit
6b629feb03
@ -0,0 +1,22 @@
|
||||
IF COL_LENGTH('[dbo].[User]', 'UsesCryptoAgent') IS NOT NULL
|
||||
BEGIN
|
||||
ALTER TABLE
|
||||
[dbo].[User]
|
||||
DROP COLUMN
|
||||
[UsesCryptoAgent]
|
||||
END
|
||||
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
|
Loading…
Reference in New Issue
Block a user