-- 项目ddl SQL语句统一放在这里记录,包括表结构、关联关系、索引、函数、存储过程等 -- 每段sql语句必须要按规范注释,注释规范如下: -- date: 2018-12-11 -- author: suntg -- content: 内容备注xxx -- date: 2018-12-12 17:51 -- author: hejq -- content: 供应商关系表增加字段,需要对账金额,次更新时间, -- 采用字符串是因为需要分币别统计处理 alter table `purc$vendors` add column todo_apchek_count VARCHAR(100) default '' comment '需要对账金额', add column update_time datetime comment '上一次更新时间'; -- date: 2018-12-19 09:51 -- author: huj -- content: 采购明细单增加替代料号、替代料名称、替代料规格三个字段(帝显LED物料需求) alter table `purc$orderitems` add column pd_repprodcode VARCHAR(255) comment '替代料号', add column pd_repprodtitle VARCHAR(255) comment '替代料名称', add column pd_repprodspec VARCHAR(255) comment '替代料规格';