/*!999999\- enable the sandbox mode */ 
-- MariaDB dump 10.19  Distrib 10.5.25-MariaDB, for Win64 (AMD64)
--
-- Host: localhost    Database: dbms
-- ------------------------------------------------------
-- Server version	10.5.25-MariaDB

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `billinginfo`
--

DROP TABLE IF EXISTS `billinginfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `billinginfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) NOT NULL,
  `issue_at` date NOT NULL,
  `total_amount` int(11) NOT NULL DEFAULT 0,
  `status` varchar(20) DEFAULT 'default',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_billinginfo` (`serviceinfo_uid`),
  CONSTRAINT `FK_serviceinfo_TO_billinginfo` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='청구서 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `billinginfo`
--

LOCK TABLES `billinginfo` WRITE;
/*!40000 ALTER TABLE `billinginfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `billinginfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `clientinfo`
--

DROP TABLE IF EXISTS `clientinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clientinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `role` varchar(50) NOT NULL DEFAULT 'user',
  `name` varchar(100) NOT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `email` varchar(50) NOT NULL,
  `coupon_balance` int(11) NOT NULL DEFAULT 0 COMMENT '쿠폰수',
  `point_balance` int(11) NOT NULL DEFAULT 0 COMMENT '포인트',
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='고객정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `clientinfo`
--

LOCK TABLES `clientinfo` WRITE;
/*!40000 ALTER TABLE `clientinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `clientinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `couponinfo`
--

DROP TABLE IF EXISTS `couponinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `couponinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `clientinfo_uid` int(11) NOT NULL,
  `title` varchar(100) NOT NULL,
  `amount` int(11) NOT NULL DEFAULT 0 COMMENT '갯수',
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_clientinfo_TO_couponinfo` (`clientinfo_uid`),
  CONSTRAINT `FK_clientinfo_TO_couponinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='쿠폰정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `couponinfo`
--

LOCK TABLES `couponinfo` WRITE;
/*!40000 ALTER TABLE `couponinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `couponinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cpuinfo`
--

DROP TABLE IF EXISTS `cpuinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cpuinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `model` varchar(50) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_model` (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='CPU 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cpuinfo`
--

LOCK TABLES `cpuinfo` WRITE;
/*!40000 ALTER TABLE `cpuinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `cpuinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cpuinfo_link`
--

DROP TABLE IF EXISTS `cpuinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cpuinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) DEFAULT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `cpuinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_cpuinfo_link` (`serviceinfo_uid`),
  KEY `FK_cpuinfo_TO_cpuinfo_link` (`cpuinfo_uid`),
  KEY `FK_serverinfo_TO_cpuinfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_cpuinfo_TO_cpuinfo_link` FOREIGN KEY (`cpuinfo_uid`) REFERENCES `cpuinfo` (`uid`),
  CONSTRAINT `FK_serverinfo_TO_cpuinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_cpuinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스_CPU 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cpuinfo_link`
--

LOCK TABLES `cpuinfo_link` WRITE;
/*!40000 ALTER TABLE `cpuinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `cpuinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `defenceinfo`
--

DROP TABLE IF EXISTS `defenceinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `defenceinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL DEFAULT 'VPC-CS',
  `ip` varchar(50) DEFAULT NULL,
  `accountid` varchar(50) DEFAULT NULL,
  `domain` varchar(100) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='방어정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `defenceinfo`
--

LOCK TABLES `defenceinfo` WRITE;
/*!40000 ALTER TABLE `defenceinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `defenceinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `defenceinfo_link`
--

DROP TABLE IF EXISTS `defenceinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `defenceinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) NOT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `defenceinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) NOT NULL DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_defenceinfo_link` (`serviceinfo_uid`),
  KEY `FK_defenceinfo_TO_defenceinfo_link` (`defenceinfo_uid`),
  KEY `FK_serverinfo_TO_defenceinfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_defenceinfo_TO_defenceinfo_link` FOREIGN KEY (`defenceinfo_uid`) REFERENCES `defenceinfo` (`uid`),
  CONSTRAINT `FK_serverinfo_TO_defenceinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_defenceinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-방어 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `defenceinfo_link`
--

LOCK TABLES `defenceinfo_link` WRITE;
/*!40000 ALTER TABLE `defenceinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `defenceinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `diskinfo`
--

DROP TABLE IF EXISTS `diskinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `diskinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `model` varchar(50) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_model` (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='DISK 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `diskinfo`
--

LOCK TABLES `diskinfo` WRITE;
/*!40000 ALTER TABLE `diskinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `diskinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `diskinfo_link`
--

DROP TABLE IF EXISTS `diskinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `diskinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) DEFAULT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `diskinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_diskinfo_link` (`serviceinfo_uid`),
  KEY `FK_diskinfo_TO_diskinfo_link` (`diskinfo_uid`),
  KEY `FK_serverinfo_TO_diskinfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_diskinfo_TO_diskinfo_link` FOREIGN KEY (`diskinfo_uid`) REFERENCES `diskinfo` (`uid`),
  CONSTRAINT `FK_serverinfo_TO_diskinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_diskinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스_DISK 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `diskinfo_link`
--

LOCK TABLES `diskinfo_link` WRITE;
/*!40000 ALTER TABLE `diskinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `diskinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ipinfo`
--

DROP TABLE IF EXISTS `ipinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ipinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `lineinfo_uid` int(11) NOT NULL,
  `ip` char(16) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_ip` (`ip`),
  KEY `FK_lineinfo_TO_ipinfo` (`lineinfo_uid`),
  CONSTRAINT `FK_lineinfo_TO_ipinfo` FOREIGN KEY (`lineinfo_uid`) REFERENCES `lineinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT=' IP 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ipinfo`
--

LOCK TABLES `ipinfo` WRITE;
/*!40000 ALTER TABLE `ipinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `ipinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ipinfo_link`
--

DROP TABLE IF EXISTS `ipinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ipinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) NOT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `ipinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) NOT NULL DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_ipinfo_link` (`serviceinfo_uid`),
  KEY `FK_serverinfo_TO_ipinfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_serverinfo_TO_ipinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_ipinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-IP 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ipinfo_link`
--

LOCK TABLES `ipinfo_link` WRITE;
/*!40000 ALTER TABLE `ipinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `ipinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lineinfo`
--

DROP TABLE IF EXISTS `lineinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lineinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `clientinfo_uid` int(11) DEFAULT NULL COMMENT '소유자정보',
  `type` varchar(20) NOT NULL DEFAULT 'general' COMMENT '회선구분',
  `title` varchar(100) NOT NULL,
  `bandwith` varchar(20) NOT NULL COMMENT 'IP 대역',
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `start_at` date DEFAULT NULL COMMENT '개통일',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_title` (`title`),
  KEY `FK_clientinfo_TO_lineinfo` (`clientinfo_uid`),
  CONSTRAINT `FK_clientinfo_TO_lineinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='회선 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lineinfo`
--

LOCK TABLES `lineinfo` WRITE;
/*!40000 ALTER TABLE `lineinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `lineinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lineinfo_link`
--

DROP TABLE IF EXISTS `lineinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lineinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) NOT NULL,
  `lineinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) NOT NULL DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_lineinfo_link` (`serviceinfo_uid`),
  KEY `FK_lineinfo_TO_lineinfo_link` (`lineinfo_uid`),
  CONSTRAINT `FK_lineinfo_TO_lineinfo_link` FOREIGN KEY (`lineinfo_uid`) REFERENCES `lineinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_lineinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-Line연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lineinfo_link`
--

LOCK TABLES `lineinfo_link` WRITE;
/*!40000 ALTER TABLE `lineinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `lineinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `logger`
--

DROP TABLE IF EXISTS `logger`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `logger` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `user_uid` int(11) NOT NULL,
  `class_name` varchar(255) DEFAULT NULL,
  `method_name` varchar(255) DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `content` text NOT NULL,
  `status` varchar(20) DEFAULT 'use',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='작업 기록 로그';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `logger`
--

LOCK TABLES `logger` WRITE;
/*!40000 ALTER TABLE `logger` DISABLE KEYS */;
INSERT INTO `logger` VALUES (22,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:24[debug]: [23/조성호] 변경 전 내용\n11:02:24[debug]: array (\n  \'uid\' => \'23\',\n  \'id\' => \'cho.sh\',\n  \'passwd\' => \'$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y\',\n  \'name\' => \'조성호\',\n  \'email\' => \'cho.sh@prime-idc.jp\',\n  \'mobile\' => \'\',\n  \'role\' => \'manager\',\n  \'status\' => \'unuse\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2024-10-02 09:45:19.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2024-10-02 09:32:30.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:24[debug]: [23/조성호] 변경 후 내용\n11:02:24[debug]: array (\n  \'uid\' => \'23\',\n  \'id\' => \'cho.sh\',\n  \'passwd\' => \'$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y\',\n  \'name\' => \'조성호\',\n  \'email\' => \'cho.sh@prime-idc.jp\',\n  \'mobile\' => \'\',\n  \'role\' => \'manager\',\n  \'status\' => \'pause\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2025-05-22 11:02:24.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2024-10-02 09:32:30.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:24[info]: [조성호]수정되였습니다.:','use','2025-05-22 02:02:24'),(23,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:28[debug]: [22/배장훈] 변경 전 내용\n11:02:28[debug]: array (\n  \'uid\' => \'22\',\n  \'id\' => \'bjh\',\n  \'passwd\' => \'$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS\',\n  \'name\' => \'배장훈\',\n  \'email\' => \'bjh@prime-idc.jp\',\n  \'mobile\' => NULL,\n  \'role\' => \'cloudflare\',\n  \'status\' => \'unuse\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2024-06-07 08:51:19.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2024-02-26 10:26:20.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:28[debug]: [22/배장훈] 변경 후 내용\n11:02:28[debug]: array (\n  \'uid\' => \'22\',\n  \'id\' => \'bjh\',\n  \'passwd\' => \'$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS\',\n  \'name\' => \'배장훈\',\n  \'email\' => \'bjh@prime-idc.jp\',\n  \'mobile\' => NULL,\n  \'role\' => \'cloudflare\',\n  \'status\' => \'pause\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2025-05-22 11:02:28.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2024-02-26 10:26:20.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:28[info]: [배장훈]수정되였습니다.:','use','2025-05-22 02:02:28'),(24,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:31[debug]: [21/김창국] 변경 전 내용\n11:02:31[debug]: array (\n  \'uid\' => \'21\',\n  \'id\' => \'masakuni\',\n  \'passwd\' => \'$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe\',\n  \'name\' => \'김창국\',\n  \'email\' => \'masakuni@prime-idc.jp\',\n  \'mobile\' => NULL,\n  \'role\' => \'cloudflare\',\n  \'status\' => \'unuse\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2023-12-18 17:56:29.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2023-12-18 17:56:29.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:31[debug]: [21/김창국] 변경 후 내용\n11:02:31[debug]: array (\n  \'uid\' => \'21\',\n  \'id\' => \'masakuni\',\n  \'passwd\' => \'$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe\',\n  \'name\' => \'김창국\',\n  \'email\' => \'masakuni@prime-idc.jp\',\n  \'mobile\' => NULL,\n  \'role\' => \'cloudflare\',\n  \'status\' => \'pause\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2025-05-22 11:02:31.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2023-12-18 17:56:29.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:31[info]: [김창국]수정되였습니다.:','use','2025-05-22 02:02:31'),(25,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:36[debug]: [19/박혁규] 변경 전 내용\n11:02:36[debug]: array (\n  \'uid\' => \'19\',\n  \'id\' => \'park.hg\',\n  \'passwd\' => \'$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e\',\n  \'name\' => \'박혁규\',\n  \'email\' => \'park.hg@prime-idc.jp\',\n  \'mobile\' => NULL,\n  \'role\' => \'manager\',\n  \'status\' => \'unuse\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2023-09-04 19:27:32.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2023-09-04 18:48:02.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:36[debug]: [19/박혁규] 변경 후 내용\n11:02:36[debug]: array (\n  \'uid\' => \'19\',\n  \'id\' => \'park.hg\',\n  \'passwd\' => \'$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e\',\n  \'name\' => \'박혁규\',\n  \'email\' => \'park.hg@prime-idc.jp\',\n  \'mobile\' => NULL,\n  \'role\' => \'manager\',\n  \'status\' => \'pause\',\n  \'updated_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2025-05-22 11:02:36.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n  \'created_at\' => \n  \\CodeIgniter\\I18n\\Time::__set_state(array(\n     \'timezone\' => \n    \\DateTimeZone::__set_state(array(\n       \'timezone_type\' => 3,\n       \'timezone\' => \'Asia/Seoul\',\n    )),\n     \'locale\' => \'en\',\n     \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n     \'date\' => \'2023-09-04 18:48:02.000000\',\n     \'timezone_type\' => 3,\n     \'timezone\' => \'Asia/Seoul\',\n  )),\n)\n11:02:36[info]: [박혁규]수정되였습니다.:','use','2025-05-22 02:02:36');
/*!40000 ALTER TABLE `logger` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pointinfo`
--

DROP TABLE IF EXISTS `pointinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pointinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `clientinfo_uid` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `amount` int(11) NOT NULL DEFAULT 0 COMMENT '압출금액',
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_clientinfo_TO_pointinfo` (`clientinfo_uid`),
  CONSTRAINT `FK_clientinfo_TO_pointinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='포인트정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pointinfo`
--

LOCK TABLES `pointinfo` WRITE;
/*!40000 ALTER TABLE `pointinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `pointinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `raminfo`
--

DROP TABLE IF EXISTS `raminfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `raminfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `model` varchar(50) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_model` (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='RAM 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `raminfo`
--

LOCK TABLES `raminfo` WRITE;
/*!40000 ALTER TABLE `raminfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `raminfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `raminfo_link`
--

DROP TABLE IF EXISTS `raminfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `raminfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) DEFAULT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `raminfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_raminfo_link` (`serviceinfo_uid`),
  KEY `FK_raminfo_TO_raminfo_link` (`raminfo_uid`),
  KEY `FK_serverinfo_TO_raminfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_raminfo_TO_raminfo_link` FOREIGN KEY (`raminfo_uid`) REFERENCES `raminfo` (`uid`),
  CONSTRAINT `FK_serverinfo_TO_raminfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_raminfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='섭비스_RAM 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `raminfo_link`
--

LOCK TABLES `raminfo_link` WRITE;
/*!40000 ALTER TABLE `raminfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `raminfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `serverinfo`
--

DROP TABLE IF EXISTS `serverinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `serverinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(20) NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'Rackmount',
  `model` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_uid` (`uid`),
  UNIQUE KEY `UQ_code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `serverinfo`
--

LOCK TABLES `serverinfo` WRITE;
/*!40000 ALTER TABLE `serverinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `serverinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `serverinfo_link`
--

DROP TABLE IF EXISTS `serverinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `serverinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) NOT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) NOT NULL DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_serverinfo_link` (`serviceinfo_uid`),
  KEY `FK_serverinfo_TO_serverinfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_serverinfo_TO_serverinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_serverinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-Server 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `serverinfo_link`
--

LOCK TABLES `serverinfo_link` WRITE;
/*!40000 ALTER TABLE `serverinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `serverinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `serviceinfo`
--

DROP TABLE IF EXISTS `serviceinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `serviceinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `clientinfo_uid` int(11) NOT NULL,
  `rack` varchar(10) NOT NULL COMMENT 'Rack번호',
  `type` varchar(20) NOT NULL DEFAULT 'hosting',
  `billing_at` date NOT NULL COMMENT '청구일',
  `start_at` date DEFAULT NULL COMMENT '개통일',
  `end_at` date DEFAULT NULL COMMENT '종료일',
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_clientinfo_TO_serviceinfo` (`clientinfo_uid`),
  CONSTRAINT `FK_clientinfo_TO_serviceinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `serviceinfo`
--

LOCK TABLES `serviceinfo` WRITE;
/*!40000 ALTER TABLE `serviceinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `serviceinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `softwareinfo`
--

DROP TABLE IF EXISTS `softwareinfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `softwareinfo` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL DEFAULT 'Windows',
  `model` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'default',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `UQ_model` (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='소프트웨어 정보';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `softwareinfo`
--

LOCK TABLES `softwareinfo` WRITE;
/*!40000 ALTER TABLE `softwareinfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `softwareinfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `softwareinfo_link`
--

DROP TABLE IF EXISTS `softwareinfo_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `softwareinfo_link` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `serviceinfo_uid` int(11) NOT NULL,
  `serverinfo_uid` int(11) NOT NULL,
  `softwareinfo_uid` int(11) NOT NULL,
  `billing_type` varchar(20) NOT NULL DEFAULT 'month',
  `amount` int(11) NOT NULL DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  KEY `FK_serviceinfo_TO_softwareinfo_link` (`serviceinfo_uid`),
  KEY `FK_softwareinfo_TO_softwareinfo_link` (`softwareinfo_uid`),
  KEY `FK_serverinfo_TO_softwareinfo_link` (`serverinfo_uid`),
  CONSTRAINT `FK_serverinfo_TO_softwareinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`),
  CONSTRAINT `FK_serviceinfo_TO_softwareinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`),
  CONSTRAINT `FK_softwareinfo_TO_softwareinfo_link` FOREIGN KEY (`softwareinfo_uid`) REFERENCES `softwareinfo` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-소프트웨어 연결';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `softwareinfo_link`
--

LOCK TABLES `softwareinfo_link` WRITE;
/*!40000 ALTER TABLE `softwareinfo_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `softwareinfo_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `uid` int(5) unsigned NOT NULL AUTO_INCREMENT,
  `id` varchar(20) NOT NULL,
  `passwd` varchar(255) NOT NULL,
  `name` varchar(20) NOT NULL,
  `email` varchar(50) NOT NULL,
  `mobile` varchar(20) DEFAULT NULL,
  `role` varchar(255) NOT NULL DEFAULT 'use',
  `status` varchar(10) NOT NULL DEFAULT 'use',
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`uid`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `email` (`email`),
  UNIQUE KEY `UQ_id` (`id`),
  UNIQUE KEY `UQ_email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (1,'choi.jh','$2y$10$9kUte0xrvEkxtI9CzVaeKeCAxzOR4pKPpsCaQHR1YW7dXsCrTLWeC','최준흠','choi.jh@prime-idc.jp','','manager,cloudflare,firewall,director,master','default','2023-05-31 14:55:51','2023-03-23 06:50:04'),(2,'cho.jh','$2y$10$ot/aUXR/W1n4Q3dZA2dZCOxQrpVb2Bq31Y7xFQS3G6D1gtImmyBjm','조준희','cho.jh@prime-idc.jp',NULL,'manager,cloudflare','default','2023-05-30 14:35:55','2023-03-24 02:20:48'),(4,'kimdy','$2y$10$18uyn94xdprzAnt.oYZ5weAvb8rRLhkz/SdQrjEK7yuGhCr9PlUCC','김동윤','kimdy@prime-idc.jp',NULL,'manager,cloudflare','default','2023-03-24 02:21:50','2023-03-24 02:21:50'),(5,'kimhy','$2y$10$.yEKVqY.F7HoSOZijl4uyeulUtfAQ4EDRiyR2JpgFYBuKw.mZoZvG','김효영','khy@prime-idc.jp',NULL,'manager,cloudflare,director','default','2023-03-24 02:23:18','2023-03-24 02:23:18'),(6,'kim.eh','$2y$10$YmwicI.Br4XNyGamfRADMOu.qlkwKd2fmnNkL7YIkNHGndvqYPnCq','김은혁','kim.eh@prime-idc.jp',NULL,'manager,cloudflare','default','2023-03-24 02:23:52','2023-03-24 02:23:52'),(7,'leeph','$2y$10$lR739WzJsW6rDLgchYs7buek4BYeTlKHTQY60RDqRms9Io7RSY3AC','이풍호','leeph@prime-idc.jp',NULL,'manager,cloudflare','default','2023-05-29 16:32:52','2023-03-24 02:24:21'),(8,'jinmingyu','$2y$10$PI8WA6d/z4hDE6hxJoUhbuMH3vTTWH0Ry2Z6fTLUUpwQGaE/9bEZa','김명옥','jinmingyu@idcjp.jp',NULL,'manager,cloudflare','default','2023-07-21 06:48:39','2023-03-24 02:25:00'),(9,'kangdh','$2y$10$gu9OS2DDQQ5H.Hh61t3BSOUp87l35q.xsduVSxvCcn8IgA4jrATgG','강동헌','kang.dh@idcjp.jp',NULL,'manager,cloudflare','default','2023-06-22 23:59:07','2023-03-24 02:25:48'),(10,'yoohs','$2y$10$TGASk98FuZ6Ux6FDquu1aO3rztA01MCle/Vs1.3iaEMQzakAbCzJy','유혜성','yoo.hs@idcjp.jp',NULL,'manager,cloudflare','default','2023-06-02 02:07:19','2023-03-24 02:26:31'),(11,'kim.yh','$2y$10$8GciQXpKYiR3TDWQfh9JjOQAQ.YWGoOSCL0a0/w4XACO0mUgjjbWy','김영환','kim.yh@idcjp.jp',NULL,'manager,cloudflare,firewall','default','2023-10-16 23:08:51','2023-03-24 02:27:05'),(12,'yunmuj','$2y$10$zkgwGVj2JSOVIsxLe8fePe1gvWWaCemfZMktzBlrN8oLb3CKydkZC','윤무정','yunmuj@idcjp.jp',NULL,'manager,cloudflare','default','2024-06-12 00:21:07','2023-03-24 02:27:59'),(13,'kim.mt','$2y$10$3dfkA0oq4LqiJOmjbBGKe.p0Dhj/MDqjoTdw11BOPF/H2qJqnEuHO','김문태','kim.mt@idcjp.jp',NULL,'manager,cloudflare','default','2023-05-31 14:22:43','2023-03-24 02:28:31'),(14,'shin.ms','$2y$10$.jaDkGtm/gZK3ZDF.fJUGOwMI7Zif5588X5AxSMvvk238RDI7spQ6','신민수','shin.ms@idcjp.jp',NULL,'manager,cloudflare','default','2023-03-24 02:29:00','2023-03-24 02:29:00'),(15,'park.sm','$2y$10$BwMxw0uvw2tAdQ0EZQ2/hu.Q7zYu7mbuBPPRTaa14bwG3VLf0cXfu','박선미','park.sm@idcjp.jp',NULL,'manager,cloudflare','default','2024-03-12 02:14:09','2023-03-24 02:29:34'),(19,'park.hg','$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e','박혁규','park.hg@prime-idc.jp',NULL,'manager','pause','2025-05-22 02:02:36','2023-09-04 09:48:02'),(21,'masakuni','$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe','김창국','masakuni@prime-idc.jp',NULL,'cloudflare','pause','2025-05-22 02:02:31','2023-12-18 08:56:29'),(22,'bjh','$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS','배장훈','bjh@prime-idc.jp',NULL,'cloudflare','pause','2025-05-22 02:02:28','2024-02-26 01:26:20'),(23,'cho.sh','$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y','조성호','cho.sh@prime-idc.jp','','manager','pause','2025-05-22 02:02:24','2024-10-02 00:32:30'),(24,'kobn','$2y$10$pWM/XFfSNeSng32sypbDX.WaR4UlM4EDkYKCQfFkYIOC7Ppg0nc5G','고병남','ko@prime-idc.jp',NULL,'manager,cloudflare','default',NULL,'2024-10-29 06:30:19'),(25,'jeong.sg','$2y$10$OzH6140JztiUEs4s/VHbPOxfxubFooqwqVhGpdFG8OJCGAFXNu546','정상구','jeong.sg@prime-idc.jp',NULL,'manager,cloudflare','default','2025-01-23 00:30:13','2025-01-23 00:29:46'),(38,'choi.jh234222222','$2y$10$zCgVXnCClLbftgeGxH0rk.v3o1zHkoO8Ywq2UDmGkdjIhK5mLJhvu','adfasdfas2222','postfixadmin@idcjp.jp2222222','043443432722222','cloudflare','pause',NULL,'2025-05-02 04:49:19'),(40,'choi.jh2342222224','$2y$10$hP/z5Nojh4eNKnTxZe3Cm.0NtvqHW2U2U0vvVDSzelKRaXSxlVj2y','adfasdfas22222221234','postfixadmin@idcjp.jp3234343','04344343271234','manager,cloudflare','pause',NULL,'2025-05-02 06:34:43');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-05-22 11:03:31
