권한 테이블 생성
#
상태tinint( 1) DEFAULT NULL, rules char(80) DEFAULT NULL,
create_time int(11) DEFAULT NULL)ENGINE=InnoDB DEFAULT CHARSET=utf8;CREATE TABLE `think_auth_group_access`(
`uid ` smallint(5) unsigned NOT NULL,
`group_id` smallint(5) unsigned NOT NULL,
고유 키 `uid_group_id`(`uid`,`group_id`),
KEY `uid`(`uid`) ,
KEY `group_id` (`group_id`)) ENGINE=INNODB DEFAULT CHARSET=utf8;CREATE TABLE think_auth_rules(
id int(11) null 기본 키 auto_increment,
name varchar ( 100) NOT NULL,
title varchar(100) NOT NULL,
typetinyint(1) DEFAULT NULL,
statustinyint(1) DEFAULT NULL, condition char(100) DEFAULT NULL, pid smallint( 5) DEFAULT NULL,sorttinyint(4) DEFAULT NULL, create_time int(11) DEFAULT NULL)ENGINE=InnoDB DEFAULT CHARSET=utf8;