-- ----------------------------
-- 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` tinyint(4) 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='免责声明';
