vr-shopxo-source/application/plugins/answers/install.sql

23 lines
1.3 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# -
CREATE TABLE `s_plugins_answers_goods` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
`goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品id',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`),
KEY `goods_id` (`goods_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='问答系统商品 - 应用';
# -
CREATE TABLE `s_plugins_answers_slide` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
`name` char(60) NOT NULL DEFAULT '' COMMENT '别名',
`images_url` char(255) NOT NULL DEFAULT '' COMMENT '图片地址',
`url` char(255) NOT NULL DEFAULT '' COMMENT 'url地址',
`is_enable` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否启用0否1是',
`sort` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
`upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `is_enable` (`is_enable`),
KEY `sort` (`sort`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='问答系统轮播图 - 应用';