manage_role 841 B

12345678910111213141516
  1. <?php return array (
  2. 'time' => 1450012535,
  3. 'table' => 'manage_role',
  4. 'create' => 'DROP TABLE IF EXISTS `manage_role`;CREATE TABLE `manage_role`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'角色ID\',`name` VARCHAR(24) NOT NULL DEFAULT \'\' COMMENT \'角色名\',`oper` VARCHAR(24) NOT NULL DEFAULT \'\' COMMENT \'操作权限\',`auth` TEXT(255) COMMENT \'权限设置\',`top` TEXT(255) COMMENT \'头部菜单\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'name' => 1,
  9. 'oper' => 2,
  10. 'auth' => 3,
  11. 'top' => 4,
  12. 'state' => 5,
  13. 'cdate' => 6,
  14. ),
  15. 'insert' => 'INSERT INTO `manage_role` (name,oper,auth,state,cdate) VALUES ("系统管理员","all","all",1,1450012535)',
  16. );