Removing update table user plan (#4551)

* Removing update table user plan

* All users are PRO now

Co-authored-by: zomars <zomars@me.com>
This commit is contained in:
Leo Giovanetti 2022-09-17 17:29:06 -03:00 committed by GitHub
parent 1b2707d4f0
commit e7dd0ff3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
-- AlterTable
-- Every user is PRO now, later this column will be deprecated.
UPDATE "users" SET "plan" = 'PRO';
ALTER TABLE "users" ALTER COLUMN "plan" SET DEFAULT 'PRO';

View File

@ -163,7 +163,7 @@ model User {
identityProviderId String?
availability Availability[]
invitedTo Int?
plan UserPlan @default(FREE)
plan UserPlan @default(PRO)
webhooks Webhook[]
brandColor String @default("#292929")
darkBrandColor String @default("#fafafa")