-- 2.0之后的SQL变更
alter table vp_user
    add status int default 0 null comment '账号状态 0正常 1停用' after role_code;

alter table vp_config_drug
    add interval_hour varchar(64) null comment '用药间隔(小时)' after interval_day;

alter table vp_disease_ancillary
    modify result text null comment '结果';
alter table vp_disease_ancillary
    add normal_result varchar(1024) null comment '正常结果' after result;

alter table vp_disease_physical
    modify result text null comment '结果';
alter table vp_disease_physical
    add normal_result varchar(1024) null comment '正常结果' after result;

alter table vp_config_drug
    add first_measures_id varchar(64) null comment '一级措施id' after drug_name_en;

-- 添加注释
alter table vp_treatment_plan_record
    modify treatment_plan_id varchar(64) null comment '处置计划id 对应与vp_treatment_plan表中的id';
alter table vp_treatment_plan_record
    modify disposal_plan varchar(64) null comment '处置计划 废弃字段：对应与vp_treatment_plan表中的disposal_plan_id,根据treatment_plan_id可以获取到';
alter table vp_treatment_plan_record
    modify first_measures varchar(64) null comment '一级措施  废弃字段：对应与vp_treatment_plan表中的firstMeasures,根据treatment_plan_id可以获取到';
alter table vp_treatment_plan_record
    modify drug_id varchar(64) null comment '药品编码 当treatment_plan_id 为空时，drug_id 不应该为空';