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 Giovanettiandzomars authored and GitHub committed 2022-09-17 20:29:06 +00:00
1 parent 1b2707d4f0
commit e7dd0ff3e9
2 files changed
+5 -1

No files matched your search

@@ -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';
+1 -1
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")