Files
spdm-backend/1-sql/2026-03-05/file_metadata_info.sql

7 lines
500 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ALTER TABLE spdm_baseline.`file_metadata_info`
-- 1. 所属工况IDtask_id- 放在tag10后面
ADD COLUMN `task_id` VARCHAR(64) DEFAULT NULL COMMENT '所属工况IDUUID' AFTER `tag10`,
-- 2. 所属算例IDrun_id- 紧跟task_id
ADD COLUMN `run_id` VARCHAR(64) DEFAULT NULL COMMENT '所属算例IDUUID' AFTER `task_id`,
-- 3. 排序字段sort_order- 紧跟run_id
ADD COLUMN `sort_order` INT DEFAULT NULL COMMENT '算例下文件的排序字段,数值越小越靠前';