feat: add team to workspace plans
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
ALTER TYPE "public"."workspace_plan" ADD VALUE 'team' BEFORE 'pro';
|
||||||
3869
packages/db/migrations/meta/20260402225628_snapshot.json
Normal file
3869
packages/db/migrations/meta/20260402225628_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -218,6 +218,13 @@
|
|||||||
"when": 1773212242728,
|
"when": 1773212242728,
|
||||||
"tag": "20260311065722_AddWeekStartDay",
|
"tag": "20260311065722_AddWeekStartDay",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 31,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1775170588247,
|
||||||
|
"tag": "20260402225628_AddTeamWorkspacePlan",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@ export const slugTypes = ["reserved", "premium"] as const;
|
|||||||
export type SlugType = (typeof slugTypes)[number];
|
export type SlugType = (typeof slugTypes)[number];
|
||||||
export const slugTypeEnum = pgEnum("slug_type", slugTypes);
|
export const slugTypeEnum = pgEnum("slug_type", slugTypes);
|
||||||
|
|
||||||
export const workspacePlans = ["free", "pro", "enterprise"] as const;
|
export const workspacePlans = ["free", "team", "pro", "enterprise"] as const;
|
||||||
export type WorkspacePlan = (typeof workspacePlans)[number];
|
export type WorkspacePlan = (typeof workspacePlans)[number];
|
||||||
export const workspacePlanEnum = pgEnum("workspace_plan", workspacePlans);
|
export const workspacePlanEnum = pgEnum("workspace_plan", workspacePlans);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user