From e31c4bb6013b452214c0d72472bf3aca7ead45ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EC=84=A0=EA=B7=BC?= Date: Wed, 17 Jul 2019 04:37:32 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=98=ED=8C=8C=EB=9E=8C=EB=B3=B4=EB=93=9C?= =?UTF-8?q?=201.2.0=20-=20=EB=8C=80=EA=B7=9C=EB=AA=A8=20=EC=97=85=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wheeparam/application/controllers/Install.php | 5 +++++ wheeparam/config/wheeparam.sql | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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;