parent
f087978540
commit
aea92b1d75
@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
Navicat Premium Data Transfer
|
||||||
|
|
||||||
|
Source Server : k-class-roll-call
|
||||||
|
Source Server Type : MySQL
|
||||||
|
Source Server Version : 80032 (8.0.32)
|
||||||
|
Source Host : localhost:3306
|
||||||
|
Source Schema : k-class-roll-call
|
||||||
|
|
||||||
|
Target Server Type : MySQL
|
||||||
|
Target Server Version : 80032 (8.0.32)
|
||||||
|
File Encoding : 65001
|
||||||
|
|
||||||
|
Date: 28/09/2024 11:06:20
|
||||||
|
*/
|
||||||
|
|
||||||
|
SET NAMES utf8mb4;
|
||||||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for student
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `student`;
|
||||||
|
CREATE TABLE `student` (
|
||||||
|
`id` bigint NOT NULL,
|
||||||
|
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||||||
|
`no` int NULL DEFAULT NULL,
|
||||||
|
`major` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||||||
|
`score` decimal(10, 2) NULL DEFAULT NULL,
|
||||||
|
`teacher_id` bigint NOT NULL,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of student
|
||||||
|
-- ----------------------------
|
||||||
|
INSERT INTO `student` VALUES (1, '朱嘉翔', 102201604, '计算机科学与技术', 25.50, 1);
|
||||||
|
INSERT INTO `student` VALUES (2, '范国鑫', 102201525, '计算机科学与技术', 34.00, 1);
|
||||||
|
INSERT INTO `student` VALUES (1839635335860477954, '庄学鹏', 102201605, '计算机科学与技术', 9.00, 1);
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for teacher
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `teacher`;
|
||||||
|
CREATE TABLE `teacher` (
|
||||||
|
`id` bigint NOT NULL,
|
||||||
|
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||||||
|
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||||||
|
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of teacher
|
||||||
|
-- ----------------------------
|
||||||
|
INSERT INTO `teacher` VALUES (1, '1', '1', '1');
|
||||||
|
INSERT INTO `teacher` VALUES (1839133469267496961, 'flyingpig', 'flyingpig', 'flyingpig');
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
Loading…
Reference in new issue