-- 为测评类型表添加详情横幅图字段
-- 用于小程序测评信息填写页顶部的横幅图展示

IF NOT EXISTS (
    SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS 
    WHERE TABLE_NAME = 'assessment_types' AND COLUMN_NAME = 'DetailImageUrl'
)
BEGIN
    ALTER TABLE assessment_types
    ADD DetailImageUrl nvarchar(500) NULL;
END
GO
