修改商品表的名称字段的长度

This commit is contained in:
季圣华 2022-04-21 22:52:31 +08:00
parent e4a0a6a69d
commit 723e9df6ab
2 changed files with 9 additions and 2 deletions

View File

@ -386,7 +386,7 @@ DROP TABLE IF EXISTS `jsh_material`;
CREATE TABLE `jsh_material` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`category_id` bigint(20) DEFAULT NULL COMMENT '产品类型id',
`name` varchar(50) DEFAULT NULL COMMENT '名称',
`name` varchar(100) DEFAULT NULL COMMENT '名称',
`mfrs` varchar(50) DEFAULT NULL COMMENT '制造商',
`model` varchar(50) DEFAULT NULL COMMENT '型号',
`standard` varchar(50) DEFAULT NULL COMMENT '规格',

View File

@ -1329,4 +1329,11 @@ update jsh_msg set status='2' where id=2;
-- by jishenghua
-- 给单据表增加找零字段backAmount
-- --------------------------------------------------------
alter table jsh_depot_head add back_amount decimal(24,6) DEFAULT NULL COMMENT '找零金额' after change_amount;
alter table jsh_depot_head add back_amount decimal(24,6) DEFAULT NULL COMMENT '找零金额' after change_amount;
-- --------------------------------------------------------
-- 时间 2022年04月21日
-- by jishenghua
-- 修改商品表的名称字段的长度
-- --------------------------------------------------------
alter table jsh_material change name name varchar(100) DEFAULT NULL COMMENT '名称';