祝大家学习的顺利一点
--------------------------------------------------上集
CREATE TABLE `tb_area` (
`area_id` int(2) NOT NULL AUTO_INCREMENT,
`area_name` varchar(200) NOT NULL,
`priority` int(2) NOT NULL DEFAULT'0',
`create_time` datetime DEFAULT NULL,
`last_edit_time` datetime DEFAULT NULL,
--------------------------------------------------上集
CREATE TABLE `tb_area` (
`area_id` int(2) NOT NULL AUTO_INCREMENT,
`area_name` varchar(200) NOT NULL,
`priority` int(2) NOT NULL DEFAULT'0',
`create_time` datetime DEFAULT NULL,
`last_edit_time` datetime DEFAULT NULL,
2022-10-13
PRIMARY KEY (`area_id`),
UNIQUE KEY `UK_AREA` (`area_name`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
--------------------------------------------------下集
UNIQUE KEY `UK_AREA` (`area_name`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
--------------------------------------------------下集
2022-10-13
springboot2.0以上版本,application.properties下的server.context-path改为server.servlet.context-path。另外新版jdbc.driver后面值改为com.mysql.cj.jdbc.Driver
2022-09-07