11 Star 1 Fork 0

雪村/tiyu_houtai

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test.txt 5.19 KB
一键复制 编辑 原始数据 按行查看 历史
tpper 提交于 2024-04-07 15:39 . 2
CREATE TABLE `think_example` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '唯一性标识',
`name` varchar(30) NOT NULL COMMENT '测试名称',
`gender` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '性别:1男 2女 3保密',
`avatar` varchar(255) DEFAULT NULL COMMENT '头像',
`type` int(10) unsigned DEFAULT '1' COMMENT '类型:1董事长 2总经理 3部门总监 4部门经理 5部门主管 6普工',
`status` tinyint(1) unsigned DEFAULT '1' COMMENT '状态:1正常 2停用',
`is_vip` tinyint(1) unsigned DEFAULT '2' COMMENT '是否VIP:1是 2否',
`sort` smallint(5) unsigned DEFAULT '125' COMMENT '显示顺序',
`note` varchar(255) DEFAULT NULL COMMENT '备注',
`create_user` int(10) unsigned DEFAULT '0' COMMENT '添加人',
`create_time` int(10) unsigned DEFAULT '0' COMMENT '添加时间',
`update_user` int(10) unsigned DEFAULT '0' COMMENT '更新人',
`update_time` int(10) unsigned DEFAULT '0' COMMENT '更新时间',
`mark` tinyint(1) unsigned DEFAULT '1' COMMENT '有效标识',
PRIMARY KEY (`id`) USING BTREE,
KEY `name` (`name`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='演示案例一';
match
CREATE TABLE `think_match` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '唯一性标识',
`name` varchar(30) NOT NULL COMMENT '赛事名称',
`gradeId` int(11) DEFAULT '0' COMMENT '年级',
`projectId` int(11) DEFAULT '0' COMMENT '项目ID',
`match_times` varchar(30) NOT NULL COMMENT '时长',
`begin_time` int(10) unsigned DEFAULT '0' COMMENT '开始日期',
`end_time` int(10) unsigned DEFAULT '0' COMMENT '结束日期',
`match_desc` varchar(500) DEFAULT NULL COMMENT '比赛介绍',
`match_rule` varchar(500) DEFAULT NULL COMMENT '比赛规则',
`avatar` varchar(255) DEFAULT NULL COMMENT '封面',
`note` varchar(255) DEFAULT NULL COMMENT '备注',
`create_user` int(10) unsigned DEFAULT '0' COMMENT '添加人',
`create_time` int(10) unsigned DEFAULT '0' COMMENT '添加时间',
`update_user` int(10) unsigned DEFAULT '0' COMMENT '更新人',
`update_time` int(10) unsigned DEFAULT '0' COMMENT '更新时间',
`mark` tinyint(1) unsigned DEFAULT '1' COMMENT '有效标识',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='赛事列表';
CREATE TABLE `think_matchyx` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '唯一性标识',
`name` varchar(30) NOT NULL COMMENT '赛事名称',
`mtype` int(11) DEFAULT '1' COMMENT '1=体育赛事,2=院系测试',
`gradeId` int(11) DEFAULT '0' COMMENT '年级',
`projectId` int(11) DEFAULT '0' COMMENT '项目ID',
`departmentsId` int(11) DEFAULT '0' COMMENT '院系',
`match_times` varchar(30) NOT NULL COMMENT '时长',
`begin_time` int(10) unsigned DEFAULT '0' COMMENT '开始日期',
`end_time` int(10) unsigned DEFAULT '0' COMMENT '结束日期',
`match_desc` varchar(500) DEFAULT NULL COMMENT '比赛介绍',
`match_rule` varchar(500) DEFAULT NULL COMMENT '比赛规则',
`avatar` varchar(255) DEFAULT NULL COMMENT '封面',
`sort` int(11) DEFAULT '125' COMMENT '显示顺序',
`note` varchar(255) DEFAULT NULL COMMENT '备注',
`create_user` int(10) unsigned DEFAULT '0' COMMENT '添加人',
`create_time` int(10) unsigned DEFAULT '0' COMMENT '添加时间',
`update_user` int(10) unsigned DEFAULT '0' COMMENT '更新人',
`update_time` int(10) unsigned DEFAULT '0' COMMENT '更新时间',
`mark` tinyint(1) unsigned DEFAULT '1' COMMENT '有效标识',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='院系体测';
CREATE TABLE `think_matchxy` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '唯一性标识',
`name` varchar(30) NOT NULL COMMENT '赛事名称',
`mtype` int(11) DEFAULT '1' COMMENT '1=体育赛事,2=院系测试',
`gradeId` int(11) DEFAULT '0' COMMENT '年级',
`projectId` int(11) DEFAULT '0' COMMENT '项目ID',
`departmentsId` int(11) DEFAULT '0' COMMENT '院系',
`match_times` varchar(30) NOT NULL DEFAULT '' COMMENT '时长',
`begin_time` int(10) unsigned DEFAULT '0' COMMENT '开始日期',
`end_time` int(10) unsigned DEFAULT '0' COMMENT '结束日期',
`match_desc` varchar(500) DEFAULT NULL COMMENT '比赛介绍',
`match_rule` varchar(500) DEFAULT NULL COMMENT '比赛规则',
`avatar` varchar(255) DEFAULT NULL COMMENT '封面',
`sort` int(11) DEFAULT '125' COMMENT '显示顺序',
`note` varchar(255) DEFAULT NULL COMMENT '备注',
`create_user` int(10) unsigned DEFAULT '0' COMMENT '添加人',
`create_time` int(10) unsigned DEFAULT '0' COMMENT '添加时间',
`update_user` int(10) unsigned DEFAULT '0' COMMENT '更新人',
`update_time` int(10) unsigned DEFAULT '0' COMMENT '更新时间',
`mark` tinyint(1) unsigned DEFAULT '1' COMMENT '有效标识',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='院系体测';
CREATE TABLE `think_xieyi` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`title` varchar(30) NOT NULL COMMENT '标题',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='协议';
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sunhappy0318/tiyu_houtai.git
git@gitee.com:sunhappy0318/tiyu_houtai.git
sunhappy0318
tiyu_houtai
tiyu_houtai
master

搜索帮助