| @@ 48-54 (lines=7) @@ | ||
| 45 | 'PRIMARY KEY (`id`)' |
|
| 46 | ], 'ENGINE=MyISAM DEFAULT CHARSET=utf8'); |
|
| 47 | } |
|
| 48 | if (empty($tables['acl_perm'])) { |
|
| 49 | $this->db->createTable('acl_perm', [ |
|
| 50 | '`id` int(10) unsigned NOT NULL AUTO_INCREMENT', |
|
| 51 | '`name` varchar(255) NOT NULL', |
|
| 52 | 'PRIMARY KEY (`id`)' |
|
| 53 | ], 'ENGINE=MyISAM DEFAULT CHARSET=utf8'); |
|
| 54 | } |
|
| 55 | if (empty($tables['acl_role_perm'])) { |
|
| 56 | $this->db->createTable('acl_role_perm', [ |
|
| 57 | '`id` int(10) unsigned NOT NULL AUTO_INCREMENT', |
|
| @@ 55-62 (lines=8) @@ | ||
| 52 | 'PRIMARY KEY (`id`)' |
|
| 53 | ], 'ENGINE=MyISAM DEFAULT CHARSET=utf8'); |
|
| 54 | } |
|
| 55 | if (empty($tables['acl_role_perm'])) { |
|
| 56 | $this->db->createTable('acl_role_perm', [ |
|
| 57 | '`id` int(10) unsigned NOT NULL AUTO_INCREMENT', |
|
| 58 | '`role` int(11) unsigned DEFAULT NOT NULL', |
|
| 59 | '`perm` int(11) unsigned DEFAULT NOT NULL', |
|
| 60 | 'PRIMARY KEY (`id`)' |
|
| 61 | ], 'ENGINE=MyISAM DEFAULT CHARSET=utf8'); |
|
| 62 | } |
|
| 63 | } |
|
| 64 | ||
| 65 | /** |
|