Removing update table user plan (#4551)
* Removing update table user plan * All users are PRO now Co-authored-by: zomars <zomars@me.com>pull/4562/head^2
parent
1b2707d4f0
commit
e7dd0ff3e9
|
@ -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';
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue