From 7483bd3ae9eaee58968c1851d23dbb3df47519ae Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Mon, 14 Dec 2020 20:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A3=9F=E6=9D=90=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/ry_20200920.sql | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/sql/ry_20200920.sql b/sql/ry_20200920.sql index 2b958dbca..0a20735b6 100644 --- a/sql/ry_20200920.sql +++ b/sql/ry_20200920.sql @@ -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 = '微信用户记录'; \ No newline at end of file +) 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 = '食材'; \ No newline at end of file