Penciptaan jadual kebenaran
1,新建三张表think_auth_group,think_auth_group_access,think_auth_rules
CREATE TABLE think_auth_group(
) bukan nombor masukan auto
00) BUKAN NULL,
status tinyint( 1) NULL lalai,
peraturan char(80) NULL lalai,
create_time int(11) NULL lalai)
ENGINE=CHARSET lalai InnoDB=utf8;
akses_kumpulan` (
`uid ` smallint(5) unsigned NOT NULL,
`group_id` smallint(5) unsigned NOT NULL,
UNIQUE KEY `uid_group_id` (`uid`,`group_id`),
KEY `uid` (`uid` KUNCI varchar( NOT NULL 5) NULL LALAI,
isih tinyint(4) NULL LALAI,
create_time int(11) NULL LALAI)
ENGINE=CHARSET LALAI InnoDB=utf8;