ALTER TABLE `role_permission` 
ADD PRIMARY KEY (`rid`, `pid`);

ALTER TABLE `role` 
CHANGE COLUMN `role_type` `role_type` INT(6) NOT NULL DEFAULT 1 ;

INSERT INTO `role` (`id`, `role_name`, `role_type`) VALUES ('1', '超级管理员', '999999');