1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee
answerbook/sql/answerbook.sql
2022-09-24 20:55:17 +08:00

22 lines
628 B
SQL

SET
FOREIGN_KEY_CHECKS = 0;
CREATE DATABASE `answerbook` CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_german2_ci';
USE `answerbook`;
-- ----------------------------
-- Table structure for answer
-- ----------------------------
DROP TABLE IF EXISTS `answer`;
CREATE TABLE `answer` (
`wy_id` int(11) DEFAULT NULL COMMENT '网易id',
`text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '问题答案',
UNIQUE KEY `wy_id` (`wy_id`,`text`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
SET
FOREIGN_KEY_CHECKS = 1;