新增食材表
This commit is contained in:
@ -809,4 +809,33 @@ create table sys_wx_user_log (
|
||||
update_time datetime comment '更新时间',
|
||||
remark varchar(500) default null comment '备注',
|
||||
primary key (id)
|
||||
) engine=innodb comment = '微信用户记录';
|
||||
) engine=innodb comment = '微信用户记录';
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
-- 24、食材
|
||||
-- ----------------------------
|
||||
drop table if exists sys_ingredient;
|
||||
create table sys_ingredient(
|
||||
id BIGINT(20) not null auto_increment comment 'id',
|
||||
name varchar(20) comment '食材名称',
|
||||
type varchar(20) comment '食材类别',
|
||||
rec_estimation tinyint comment '推荐分量估算',
|
||||
rec_est_unit bigint(20) comment '推荐分量估算单位id',
|
||||
rec_portion tinyint comment '推荐分量',
|
||||
protein_ratio decimal(10,2) comment '蛋白质比例',
|
||||
fat_ratio decimal(10,2) comment '脂肪比例',
|
||||
carbon_ratio decimal(10,2) comment '碳水比例',
|
||||
protein_mass_ratio decimal(10,2) comment '蛋白质质量比',
|
||||
fat_mass decimal(10,2) comment '脂肪质量',
|
||||
carbon_mass decimal(10,2) comment '碳水质量',
|
||||
remark varchar(500) comment '备注',
|
||||
area varchar(20) comment '地域',
|
||||
not_rec varchar(500) comment '忌口',
|
||||
recommend varchar(500) comment '推荐',
|
||||
create_by varchar(64) default '' comment '创建者',
|
||||
create_time datetime comment '创建时间',
|
||||
update_by varchar(64) default '' comment '更新者',
|
||||
update_time datetime comment '更新时间',
|
||||
primary key (id)
|
||||
) engine=innodb comment = '食材';
|
Reference in New Issue
Block a user