1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00
bitwarden-server/util/SqlUpdate/2017-06-30_00_UserPremium.sql

20 lines
242 B
MySQL
Raw Normal View History

alter table [user] add [Premium] BIT NULL
go
update [user] set [premium] = 0
go
alter table [user] alter column [premium] BIT NOT NULL
go
2017-07-07 20:08:30 +02:00
drop view [dbo].[UserView]
go
CREATE VIEW [dbo].[UserView]
AS
SELECT
*
FROM
[dbo].[User]
GO