rt-sim-training-service/sql/20210430-zhangsai.sql

28 lines
1.2 KiB
MySQL
Raw Normal View History

2021-04-30 14:06:50 +08:00
CREATE TABLE `competition_error_set` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) DEFAULT NULL,
2021-05-06 15:52:38 +08:00
`competition_id` bigint(20) DEFAULT NULL,
`command_evaluation_rule_id` bigint(20) DEFAULT NULL,
2021-04-30 14:06:50 +08:00
`action_id` varchar(10) DEFAULT NULL,
`right` varchar(255) DEFAULT NULL COMMENT '正确(标准)的语句',
`wrong` varchar(255) DEFAULT NULL,
`key_words` varchar(255) DEFAULT NULL COMMENT '错误的关键词',
`trip_number` varchar(255) DEFAULT NULL COMMENT '错误的车次号',
`file_path` varchar(255) DEFAULT NULL COMMENT '语音文件路径',
2021-05-06 15:52:38 +08:00
`time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
CREATE TABLE `competition_voice_record` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) DEFAULT NULL,
`competition_id` bigint(20) DEFAULT NULL,
`command_evaluation_rule_id` bigint(20) DEFAULT NULL COMMENT '指令评价规则id',
`action_id` varchar(10) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`time` datetime DEFAULT NULL COMMENT '创建或更新的时间',
2021-04-30 14:06:50 +08:00
PRIMARY KEY (`id`)
2021-05-06 15:52:38 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
2021-04-30 14:06:50 +08:00