mirror of
https://github.com/bitwarden/server.git
synced 2024-12-01 13:43:23 +01:00
20 lines
242 B
Transact-SQL
20 lines
242 B
Transact-SQL
alter table [user] add [Premium] BIT NULL
|
|
go
|
|
|
|
update [user] set [premium] = 0
|
|
go
|
|
|
|
alter table [user] alter column [premium] BIT NOT NULL
|
|
go
|
|
|
|
drop view [dbo].[UserView]
|
|
go
|
|
|
|
CREATE VIEW [dbo].[UserView]
|
|
AS
|
|
SELECT
|
|
*
|
|
FROM
|
|
[dbo].[User]
|
|
GO
|