fix
This commit is contained in:
14
ddl/fs_canteen_product.sql
Normal file
14
ddl/fs_canteen_product.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
-- fusentest.fs_canteen_product definition
|
||||
|
||||
CREATE TABLE `fs_canteen_product` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`canteen_type` int(10) NOT NULL DEFAULT '0' COMMENT '餐厅类别id',
|
||||
`product_id` int(10) NOT NULL COMMENT '产品id',
|
||||
`size_id` int(10) NOT NULL COMMENT '尺寸id',
|
||||
`sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态位 1启用0停用',
|
||||
`ctime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
|
||||
`sid` varchar(50) NOT NULL DEFAULT '' COMMENT '前端带入的id',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `canteen_type` (`canteen_type`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COMMENT='餐厅类别产品对应表';
|
||||
@@ -1,10 +1,10 @@
|
||||
-- fusentest.fs_canteen_type definition
|
||||
|
||||
CREATE TABLE `fs_canteen_type` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '餐厅名字',
|
||||
`sort` smallint(6) NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态位 1启用0停用',
|
||||
`ctime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
|
||||
PRIMARY KEY (`id`)
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '餐厅名字',
|
||||
`sort` smallint(6) NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态位 1启用0停用',
|
||||
`ctime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COMMENT='餐厅类型表';
|
||||
Reference in New Issue
Block a user