41 lines
2.2 KiB
SQL
41 lines
2.2 KiB
SQL
-- ----------------------------
|
||
-- Table structure for sv_member_lesson_ticket_invite
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `sv_member_lesson_ticket_invite`;
|
||
CREATE TABLE `sv_member_lesson_ticket_invite` (
|
||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||
`owner_id` int(11) NOT NULL DEFAULT '1' COMMENT '场馆类型',
|
||
`member_id` int(11) NOT NULL,
|
||
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态:0-未选中 1-已选中',
|
||
`platform_id` int(11) NOT NULL COMMENT '平台来源ID',
|
||
`created_id` int(10) unsigned DEFAULT '0' COMMENT '创建者编号',
|
||
`modified_id` int(10) unsigned DEFAULT '0' COMMENT '创建者编号',
|
||
`created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||
`modified_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
||
`deleted` tinyint(3) unsigned DEFAULT '0' COMMENT '删除标识位: 0正常 1删除',
|
||
PRIMARY KEY (`id`),
|
||
KEY `lesson_id` (`deleted`,`status`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='场馆课程预订信息';
|
||
|
||
-- ----------------------------
|
||
-- Table structure for sv_disclaimers
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `sv_disclaimers`;
|
||
CREATE TABLE `sv_disclaimers` (
|
||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||
`description` longtext CHARACTER SET utf8mb4 NOT NULL COMMENT '简介',
|
||
`platform_id` int(11) NOT NULL COMMENT '平台来源ID',
|
||
`created_id` int(10) unsigned DEFAULT '0' COMMENT '创建者编号',
|
||
`modified_id` int(10) unsigned DEFAULT '0' COMMENT '创建者编号',
|
||
`created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||
`modified_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
||
`deleted` int(3) unsigned DEFAULT '0' COMMENT '删除标识位: 0正常 1删除',
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='免责声明';
|
||
|
||
-- 新增免责声明菜单
|
||
INSERT INTO `smart_venue`.`sys_menu`(`status`, `name`, `en_name`, `url`, `icon`, `parent_id`, `sort`, `remark`, `created_id`, `modified_id`, `created_time`, `modified_time`, `deleted`) VALUES
|
||
(0, '免责声明', '免责声明', 'disclaimers/edit', '', 36, 7, '', 0, 0, NOW(), NOW(), 0);
|
||
|
||
INSERT sys_role_menu VALUES ('1','52');
|