You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
380 B
7 lines
380 B
-- 04-agent-model-ids.sql
|
|
-- AgentConfig 新增 model_instance_id 和 embedding_model_id 可选外键
|
|
-- nullable=True,旧记录自动为 NULL,完全向后兼容
|
|
|
|
ALTER TABLE agent_configs ADD COLUMN IF NOT EXISTS model_instance_id UUID REFERENCES model_instances(id);
|
|
|
|
ALTER TABLE agent_configs ADD COLUMN IF NOT EXISTS embedding_model_id UUID REFERENCES model_instances(id);
|