Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove env & task count limit for free & team plan (#4320)

ecmadaoe24492a924c3
diff --git a/api/plan.go b/api/plan.go
index 1a23633008..c3e4fe8498 100644
--- a/api/plan.go
+++ b/api/plan.go
@@ -270,8 +270,8 @@ const (
// PlanLimitValues is the plan limit value mapping.
var PlanLimitValues = map[PlanLimit][3]int64{
- PlanLimitMaximumTask: {4, math.MaxInt64, math.MaxInt64},
- PlanLimitMaximumEnvironment: {2, 3, math.MaxInt64},
+ PlanLimitMaximumTask: {math.MaxInt64, math.MaxInt64, math.MaxInt64},
+ PlanLimitMaximumEnvironment: {math.MaxInt64, math.MaxInt64, math.MaxInt64},
}
// Feature returns whether a particular feature is available in a particular plan.
diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.json
index f4cef80c08..1012074599 100644
--- a/frontend/src/locales/subscription/en-US.json
+++ b/frontend/src/locales/subscription/en-US.json
@@ -53,11 +53,8 @@
"instance-customized": "Customized",
"instance-minimum-5": "5 ~ unlimited",
"environment-count": "Environment count",
- "environment-upto-2": "Up to 2",
- "environment-upto-3": "Up to 3",
"environment-unlimited": "Unlimited",
"task-count-in-issue": "Task count in an issue",
- "task-upto-4": "Up to 4",
"task-unlimited": "Unlimited",
"schema-change": "Schema and data change",
"schema-change-basic": "Basic",
diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.json
index f9966961ec..b9a0b520f8 100644
--- a/frontend/src/locales/subscription/zh-CN.json
+++ b/frontend/src/locales/subscription/zh-CN.json
@@ -53,11 +53,8 @@
"instance-minimum-5": "5 ~ 无限制",
"instance-customized": "自定义",
"environment-count": "环境数",
- "environment-upto-2": "不多于 2 个",
- "environment-upto-3": "不多于 3 个",
"environment-unlimited": "无限制",
"task-count-in-issue": "单个工单的任务数",
- "task-upto-4": "不多于 4 个",
"task-unlimited": "无限制",
"schema-change": "Schema 和数据变更",
"schema-change-basic": "基础",
diff --git a/frontend/src/types/plan.yaml b/frontend/src/types/plan.yaml
index ff41ae84a3..7521e7f5a3 100644
--- a/frontend/src/types/plan.yaml
+++ b/frontend/src/types/plan.yaml
@@ -49,9 +49,9 @@ planList:
- type: instance-count
content: instance-upto-5
- type: environment-count
- content: environment-upto-2
+ content: environment-unlimited
- type: task-count-in-issue
- content: task-upto-4
+ content: task-unlimited
- type: schema-change
content: schema-change-basic
tooltip: schema-change-basic-tooltip
@@ -96,7 +96,7 @@ planList:
- type: instance-count
content: instance-minimum-5
- type: environment-count
- content: environment-upto-3
+ content: environment-unlimited
- type: task-count-in-issue
content: task-unlimited
- type: schema-change