mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-15 23:22:59 +08:00
Extend composite routing, pricing, migrations, and admin options for Kimi, GLM, and DeepSeek.
9 lines
435 B
SQL
9 lines
435 B
SQL
-- Allow Composite model routes to target the three concrete CN providers.
|
|
ALTER TABLE composite_model_routes
|
|
DROP CONSTRAINT IF EXISTS composite_model_routes_target_platform_check;
|
|
|
|
ALTER TABLE composite_model_routes
|
|
ADD CONSTRAINT composite_model_routes_target_platform_check
|
|
CHECK (target_platform IN ('anthropic', 'openai', 'gemini', 'antigravity', 'grok',
|
|
'kimi', 'zhipu', 'deepseek'));
|