diff --git a/wheeparam/application/controllers/Install.php b/wheeparam/application/controllers/Install.php index a9d055e..2d9b9bc 100644 --- a/wheeparam/application/controllers/Install.php +++ b/wheeparam/application/controllers/Install.php @@ -62,6 +62,11 @@ class Install extends CI_Controller { $data['ath_type'] = "SUPER"; $data['ath_key'] = ""; $this->db->insert('member_auth',$data); + + $data['ath_type'] = 'MASTER'; + $this->db->insert('member_auth',$data); + + unset($data); // 인스톨 파일 삭제 diff --git a/wheeparam/config/wheeparam.sql b/wheeparam/config/wheeparam.sql index c6804c2..17f92b3 100644 --- a/wheeparam/config/wheeparam.sql +++ b/wheeparam/config/wheeparam.sql @@ -459,7 +459,7 @@ CREATE TABLE `wb_member_autologin` ( DROP TABLE IF EXISTS `wb_member_auth`; CREATE TABLE `wb_member_auth` ( `mem_idx` int(11) NOT NULL, - `ath_type` enum('SUPER','BOARD') NOT NULL, + `ath_type` varchar(30) NOT NULL DEFAULT '', `ath_key` varchar(20) NOT NULL DEFAULT '', PRIMARY KEY (`mem_idx`,`ath_type`,`ath_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;