chore: generate
This commit is contained in:
@@ -2,9 +2,7 @@
|
|||||||
"version": "6",
|
"version": "6",
|
||||||
"dialect": "mysql",
|
"dialect": "mysql",
|
||||||
"id": "39a41b57-a092-4356-a8ed-2a51cde2da1d",
|
"id": "39a41b57-a092-4356-a8ed-2a51cde2da1d",
|
||||||
"prevIds": [
|
"prevIds": ["2752a0ba-95b5-492a-83fd-3dfe7fa77734"],
|
||||||
"2752a0ba-95b5-492a-83fd-3dfe7fa77734"
|
|
||||||
],
|
|
||||||
"ddl": [
|
"ddl": [
|
||||||
{
|
{
|
||||||
"name": "account",
|
"name": "account",
|
||||||
@@ -2689,201 +2687,139 @@
|
|||||||
"table": "workspace"
|
"table": "workspace"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "account",
|
"table": "account",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "auth",
|
"table": "auth",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "benchmark",
|
"table": "benchmark",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "billing",
|
"table": "billing",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["email", "type"],
|
||||||
"email",
|
|
||||||
"type"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "coupon",
|
"table": "coupon",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "lite",
|
"table": "lite",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "payment",
|
"table": "payment",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "subscription",
|
"table": "subscription",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "usage",
|
"table": "usage",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["ip", "interval"],
|
||||||
"ip",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "ip_rate_limit",
|
"table": "ip_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["ip"],
|
||||||
"ip"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "ip",
|
"table": "ip",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["key", "interval"],
|
||||||
"key",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "key_rate_limit",
|
"table": "key_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model_sticky_provider",
|
"table": "model_sticky_provider",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id", "interval"],
|
||||||
"id",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model_tpm_rate_limit",
|
"table": "model_tpm_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id", "interval"],
|
||||||
"id",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model_tps_rate_limit",
|
"table": "model_tps_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "key",
|
"table": "key",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model",
|
"table": "model",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "provider",
|
"table": "provider",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id"],
|
||||||
"workspace_id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "referral_code",
|
"table": "referral_code",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "referral_id"],
|
||||||
"workspace_id",
|
|
||||||
"referral_id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "referral_reward",
|
"table": "referral_reward",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "referral",
|
"table": "referral",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "user",
|
"table": "user",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "workspace",
|
"table": "workspace",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
"version": "6",
|
"version": "6",
|
||||||
"dialect": "mysql",
|
"dialect": "mysql",
|
||||||
"id": "e365c1d7-fb02-44ad-b681-87bb51d01964",
|
"id": "e365c1d7-fb02-44ad-b681-87bb51d01964",
|
||||||
"prevIds": [
|
"prevIds": ["39a41b57-a092-4356-a8ed-2a51cde2da1d"],
|
||||||
"39a41b57-a092-4356-a8ed-2a51cde2da1d"
|
|
||||||
],
|
|
||||||
"ddl": [
|
"ddl": [
|
||||||
{
|
{
|
||||||
"name": "account",
|
"name": "account",
|
||||||
@@ -2689,201 +2687,139 @@
|
|||||||
"table": "workspace"
|
"table": "workspace"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "account",
|
"table": "account",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "auth",
|
"table": "auth",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "benchmark",
|
"table": "benchmark",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "billing",
|
"table": "billing",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["email", "type"],
|
||||||
"email",
|
|
||||||
"type"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "coupon",
|
"table": "coupon",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "lite",
|
"table": "lite",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "payment",
|
"table": "payment",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "subscription",
|
"table": "subscription",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "usage",
|
"table": "usage",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["ip", "interval"],
|
||||||
"ip",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "ip_rate_limit",
|
"table": "ip_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["ip"],
|
||||||
"ip"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "ip",
|
"table": "ip",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["key", "interval"],
|
||||||
"key",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "key_rate_limit",
|
"table": "key_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model_sticky_provider",
|
"table": "model_sticky_provider",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id", "interval"],
|
||||||
"id",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model_tpm_rate_limit",
|
"table": "model_tpm_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id", "interval"],
|
||||||
"id",
|
|
||||||
"interval"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model_tps_rate_limit",
|
"table": "model_tps_rate_limit",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "key",
|
"table": "key",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "model",
|
"table": "model",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "provider",
|
"table": "provider",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id"],
|
||||||
"workspace_id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "referral_code",
|
"table": "referral_code",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "referral_id"],
|
||||||
"workspace_id",
|
|
||||||
"referral_id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "referral_reward",
|
"table": "referral_reward",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "referral",
|
"table": "referral",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["workspace_id", "id"],
|
||||||
"workspace_id",
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "user",
|
"table": "user",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": [
|
"columns": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"name": "PRIMARY",
|
"name": "PRIMARY",
|
||||||
"table": "workspace",
|
"table": "workspace",
|
||||||
"entityType": "pks"
|
"entityType": "pks"
|
||||||
|
|||||||
@@ -31,5 +31,8 @@ export const ReferralRewardTable = mysqlTable(
|
|||||||
amount: bigint("amount", { mode: "number" }).notNull(),
|
amount: bigint("amount", { mode: "number" }).notNull(),
|
||||||
timeApplied: utc("time_applied"),
|
timeApplied: utc("time_applied"),
|
||||||
},
|
},
|
||||||
(table) => [primaryKey({ columns: [table.workspaceID, table.referralID] }), index("referral_id").on(table.referralID)],
|
(table) => [
|
||||||
|
primaryKey({ columns: [table.workspaceID, table.referralID] }),
|
||||||
|
index("referral_id").on(table.referralID),
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ https://opencode.ai/zen/go/v1/models
|
|||||||
## プライバシー
|
## プライバシー
|
||||||
|
|
||||||
| モデル | モデルのトレーニング | データ保持 |
|
| モデル | モデルのトレーニング | データ保持 |
|
||||||
| ----------------- | -------------------- | ---------- |
|
| ----------------- | -------------------- | ----------- |
|
||||||
| Grok 4.5 | 使用なし | 30日 |
|
| Grok 4.5 | 使用なし | 30日 |
|
||||||
| GPT 5.6 Luna | 使用なし | 30日 |
|
| GPT 5.6 Luna | 使用なし | 30日 |
|
||||||
| GLM-5.3 | 使用なし | 0日 |
|
| GLM-5.3 | 使用なし | 0日 |
|
||||||
|
|||||||
Reference in New Issue
Block a user