Files
spdm-backend/1-sql/2026-03-17/yang.sql

9 lines
495 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.

-- 修改字段名 del_flag 为 delFlag保持类型和注释不变
ALTER TABLE `simulation_job`
CHANGE COLUMN `del_flag` `delFlag` char(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除标识N-未删除Y-已删除';
-- 应用注册表增加分组字段
ALTER TABLE `simulation_app_repository`
ADD COLUMN `hpcGroup` varchar(16) NULL DEFAULT NULL COMMENT 'HPC_PACK,OPEN_PBS';
-- 初始数据都是hpc pack的
update simulation_app_repository set hpcGroup='HPC_PACK' where appType =3;