영카트4 DB테이블 볼수있는곳있나요..?
본문
지금 사이트 db 테이블이 다 날라가서 하나씩 create 해야할거같은데
혹시 볼수있는곳이 있다면 답글좀 부탁드립니다ㅠㅠ
답변 3
대게 install 폴더 > 확장자 .sql 파일이 설치(스키마) 파일입니다.
영카트4와 관련된 그누보드4 SQL입니다.
##
## Table structure for table `$g4[auth_table]`
##
DROP TABLE IF EXISTS `$g4[auth_table]`;
CREATE TABLE `$g4[auth_table]` (
`mb_id` varchar(255) NOT NULL default '',
`au_menu` varchar(20) NOT NULL default '',
`au_auth` set('r','w','d') NOT NULL default '',
PRIMARY KEY (`mb_id`,`au_menu`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[board_table]`
##
DROP TABLE IF EXISTS `$g4[board_table]`;
CREATE TABLE `$g4[board_table]` (
`bo_table` varchar(20) NOT NULL default '',
`gr_id` varchar(255) NOT NULL default '',
`bo_subject` varchar(255) NOT NULL default '',
`bo_admin` varchar(255) NOT NULL default '',
`bo_list_level` tinyint(4) NOT NULL default '0',
`bo_read_level` tinyint(4) NOT NULL default '0',
`bo_write_level` tinyint(4) NOT NULL default '0',
`bo_reply_level` tinyint(4) NOT NULL default '0',
`bo_comment_level` tinyint(4) NOT NULL default '0',
`bo_upload_level` tinyint(4) NOT NULL default '0',
`bo_download_level` tinyint(4) NOT NULL default '0',
`bo_html_level` tinyint(4) NOT NULL default '0',
`bo_link_level` tinyint(4) NOT NULL default '0',
`bo_trackback_level` tinyint(4) NOT NULL default '0',
`bo_count_delete` tinyint(4) NOT NULL default '0',
`bo_count_modify` tinyint(4) NOT NULL default '0',
`bo_read_point` int(11) NOT NULL default '0',
`bo_write_point` int(11) NOT NULL default '0',
`bo_comment_point` int(11) NOT NULL default '0',
`bo_download_point` int(11) NOT NULL default '0',
`bo_use_category` tinyint(4) NOT NULL default '0',
`bo_category_list` text NOT NULL,
`bo_disable_tags` text NOT NULL,
`bo_use_sideview` tinyint(4) NOT NULL default '0',
`bo_use_file_content` tinyint(4) NOT NULL default '0',
`bo_use_secret` tinyint(4) NOT NULL default '0',
`bo_use_dhtml_editor` tinyint(4) NOT NULL default '0',
`bo_use_rss_view` tinyint(4) NOT NULL default '0',
`bo_use_comment` tinyint(4) NOT NULL default '0',
`bo_use_good` tinyint(4) NOT NULL default '0',
`bo_use_nogood` tinyint(4) NOT NULL default '0',
`bo_use_name` tinyint(4) NOT NULL default '0',
`bo_use_signature` tinyint(4) NOT NULL default '0',
`bo_use_ip_view` tinyint(4) NOT NULL default '0',
`bo_use_trackback` tinyint(4) NOT NULL default '0',
`bo_use_list_view` tinyint(4) NOT NULL default '0',
`bo_use_list_content` tinyint(4) NOT NULL default '0',
`bo_table_width` int(11) NOT NULL default '0',
`bo_subject_len` int(11) NOT NULL default '0',
`bo_page_rows` int(11) NOT NULL default '0',
`bo_new` int(11) NOT NULL default '0',
`bo_hot` int(11) NOT NULL default '0',
`bo_image_width` int(11) NOT NULL default '0',
`bo_skin` varchar(255) NOT NULL default '',
`bo_image_head` varchar(255) NOT NULL default '',
`bo_image_tail` varchar(255) NOT NULL default '',
`bo_include_head` varchar(255) NOT NULL default '',
`bo_include_tail` varchar(255) NOT NULL default '',
`bo_content_head` text NOT NULL,
`bo_content_tail` text NOT NULL,
`bo_insert_content` text NOT NULL,
`bo_gallery_cols` int(11) NOT NULL default '0',
`bo_upload_size` int(11) NOT NULL default '0',
`bo_reply_order` tinyint(4) NOT NULL default '0',
`bo_use_search` tinyint(4) NOT NULL default '0',
`bo_order_search` int(11) NOT NULL default '0',
`bo_count_write` int(11) NOT NULL default '0',
`bo_count_comment` int(11) NOT NULL default '0',
`bo_write_min` int(11) NOT NULL default '0',
`bo_write_max` int(11) NOT NULL default '0',
`bo_comment_min` int(11) NOT NULL default '0',
`bo_comment_max` int(11) NOT NULL default '0',
`bo_notice` text NOT NULL,
`bo_upload_count` tinyint(4) NOT NULL default '0',
`bo_use_email` tinyint(4) NOT NULL default '0',
`bo_sort_field` varchar(255) NOT NULL default '',
`bo_1_subj` varchar(255) NOT NULL default '',
`bo_2_subj` varchar(255) NOT NULL default '',
`bo_3_subj` varchar(255) NOT NULL default '',
`bo_4_subj` varchar(255) NOT NULL default '',
`bo_5_subj` varchar(255) NOT NULL default '',
`bo_6_subj` varchar(255) NOT NULL default '',
`bo_7_subj` varchar(255) NOT NULL default '',
`bo_8_subj` varchar(255) NOT NULL default '',
`bo_9_subj` varchar(255) NOT NULL default '',
`bo_10_subj` varchar(255) NOT NULL default '',
`bo_1` varchar(255) NOT NULL default '',
`bo_2` varchar(255) NOT NULL default '',
`bo_3` varchar(255) NOT NULL default '',
`bo_4` varchar(255) NOT NULL default '',
`bo_5` varchar(255) NOT NULL default '',
`bo_6` varchar(255) NOT NULL default '',
`bo_7` varchar(255) NOT NULL default '',
`bo_8` varchar(255) NOT NULL default '',
`bo_9` varchar(255) NOT NULL default '',
`bo_10` varchar(255) NOT NULL default '',
PRIMARY KEY (`bo_table`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[board_table]_file`
##
DROP TABLE IF EXISTS `$g4[board_table]_file`;
CREATE TABLE `$g4[board_table]_file` (
`bo_table` varchar(20) NOT NULL default '',
`wr_id` int(11) NOT NULL default '0',
`bf_no` int(11) NOT NULL default '0',
`bf_source` varchar(255) NOT NULL default '',
`bf_file` varchar(255) NOT NULL default '',
`bf_download` int(11) NOT NULL,
`bf_content` text NOT NULL,
`bf_filesize` int(11) NOT NULL default '0',
`bf_width` int(11) NOT NULL default '0',
`bf_height` smallint(6) NOT NULL default '0',
`bf_type` tinyint(4) NOT NULL default '0',
`bf_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`bo_table`,`wr_id`,`bf_no`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[board_table]_good`
##
DROP TABLE IF EXISTS `$g4[board_table]_good`;
CREATE TABLE `$g4[board_table]_good` (
`bg_id` int(11) NOT NULL auto_increment,
`bo_table` varchar(20) NOT NULL default '',
`wr_id` int(11) NOT NULL default '0',
`mb_id` varchar(20) NOT NULL default '',
`bg_flag` varchar(255) NOT NULL default '',
`bg_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`bg_id`),
UNIQUE KEY `fkey1` (`bo_table`,`wr_id`,`mb_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[board_table]_new`
##
DROP TABLE IF EXISTS `$g4[board_table]_new`;
CREATE TABLE `$g4[board_table]_new` (
`bn_id` int(11) NOT NULL auto_increment,
`bo_table` varchar(20) NOT NULL default '',
`wr_id` int(11) NOT NULL default '0',
`wr_parent` int(11) NOT NULL default '0',
`bn_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`mb_id` varchar(20) NOT NULL default '',
PRIMARY KEY (`bn_id`),
KEY `mb_id` (`mb_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[config_table]`
##
DROP TABLE IF EXISTS `$g4[config_table]`;
CREATE TABLE `$g4[config_table]` (
`cf_title` varchar(255) NOT NULL default '',
`cf_admin` varchar(255) NOT NULL default '',
`cf_use_point` tinyint(4) NOT NULL default '0',
`cf_use_norobot` tinyint(4) NOT NULL default '0',
`cf_use_copy_log` tinyint(4) NOT NULL default '0',
`cf_use_email_certify` tinyint(4) NOT NULL default '0',
`cf_login_point` int(11) NOT NULL default '0',
`cf_cut_name` tinyint(4) NOT NULL default '0',
`cf_nick_modify` int(11) NOT NULL default '0',
`cf_new_skin` varchar(255) NOT NULL default '',
`cf_login_skin` varchar(255) NOT NULL default '',
`cf_new_rows` int(11) NOT NULL default '0',
`cf_search_skin` varchar(255) NOT NULL default '',
`cf_connect_skin` varchar(255) NOT NULL default '',
`cf_read_point` int(11) NOT NULL default '0',
`cf_write_point` int(11) NOT NULL default '0',
`cf_comment_point` int(11) NOT NULL default '0',
`cf_download_point` int(11) NOT NULL default '0',
`cf_search_bgcolor` varchar(255) NOT NULL default '',
`cf_search_color` varchar(255) NOT NULL default '',
`cf_write_pages` int(11) NOT NULL default '0',
`cf_link_target` varchar(255) NOT NULL default '',
`cf_delay_sec` int(11) NOT NULL default '0',
`cf_filter` text NOT NULL,
`cf_possible_ip` text NOT NULL,
`cf_intercept_ip` text NOT NULL,
`cf_register_skin` varchar(255) NOT NULL default 'basic',
`cf_member_skin` varchar(255) NOT NULL default '',
`cf_use_homepage` tinyint(4) NOT NULL default '0',
`cf_req_homepage` tinyint(4) NOT NULL default '0',
`cf_use_tel` tinyint(4) NOT NULL default '0',
`cf_req_tel` tinyint(4) NOT NULL default '0',
`cf_use_hp` tinyint(4) NOT NULL default '0',
`cf_req_hp` tinyint(4) NOT NULL default '0',
`cf_use_addr` tinyint(4) NOT NULL default '0',
`cf_req_addr` tinyint(4) NOT NULL default '0',
`cf_use_signature` tinyint(4) NOT NULL default '0',
`cf_req_signature` tinyint(4) NOT NULL default '0',
`cf_use_profile` tinyint(4) NOT NULL default '0',
`cf_req_profile` tinyint(4) NOT NULL default '0',
`cf_register_level` tinyint(4) NOT NULL default '0',
`cf_register_point` int(11) NOT NULL default '0',
`cf_icon_level` tinyint(4) NOT NULL default '0',
`cf_use_recommend` tinyint(4) NOT NULL default '0',
`cf_recommend_point` int(11) NOT NULL default '0',
`cf_leave_day` int(11) NOT NULL default '0',
`cf_search_part` int(11) NOT NULL default '0',
`cf_email_use` tinyint(4) NOT NULL default '0',
`cf_email_wr_super_admin` tinyint(4) NOT NULL default '0',
`cf_email_wr_group_admin` tinyint(4) NOT NULL default '0',
`cf_email_wr_board_admin` tinyint(4) NOT NULL default '0',
`cf_email_wr_write` tinyint(4) NOT NULL default '0',
`cf_email_wr_comment_all` tinyint(4) NOT NULL default '0',
`cf_email_mb_super_admin` tinyint(4) NOT NULL default '0',
`cf_email_mb_member` tinyint(4) NOT NULL default '0',
`cf_email_po_super_admin` tinyint(4) NOT NULL default '0',
`cf_prohibit_id` text NOT NULL,
`cf_prohibit_email` text NOT NULL,
`cf_new_del` int(11) NOT NULL default '0',
`cf_memo_del` int(11) NOT NULL default '0',
`cf_visit_del` int(11) NOT NULL default '0',
`cf_popular_del` int(11) NOT NULL default '0',
`cf_use_jumin` tinyint(4) NOT NULL default '0',
`cf_use_member_icon` tinyint(4) NOT NULL default '0',
`cf_member_icon_size` int(11) NOT NULL default '0',
`cf_member_icon_width` int(11) NOT NULL default '0',
`cf_member_icon_height` int(11) NOT NULL default '0',
`cf_login_minutes` int(11) NOT NULL default '0',
`cf_image_extension` varchar(255) NOT NULL default '',
`cf_flash_extension` varchar(255) NOT NULL default '',
`cf_movie_extension` varchar(255) NOT NULL default '',
`cf_formmail_is_member` tinyint(4) NOT NULL default '0',
`cf_page_rows` int(11) NOT NULL default '0',
`cf_visit` varchar(255) NOT NULL default '',
`cf_max_po_id` int(11) NOT NULL default '0',
`cf_stipulation` text NOT NULL,
`cf_privacy` text NOT NULL,
`cf_open_modify` int(11) NOT NULL default '0',
`cf_memo_send_point` int(11) NOT NULL default '0',
`cf_1_subj` varchar(255) NOT NULL default '',
`cf_2_subj` varchar(255) NOT NULL default '',
`cf_3_subj` varchar(255) NOT NULL default '',
`cf_4_subj` varchar(255) NOT NULL default '',
`cf_5_subj` varchar(255) NOT NULL default '',
`cf_6_subj` varchar(255) NOT NULL default '',
`cf_7_subj` varchar(255) NOT NULL default '',
`cf_8_subj` varchar(255) NOT NULL default '',
`cf_9_subj` varchar(255) NOT NULL default '',
`cf_10_subj` varchar(255) NOT NULL default '',
`cf_1` varchar(255) NOT NULL default '',
`cf_2` varchar(255) NOT NULL default '',
`cf_3` varchar(255) NOT NULL default '',
`cf_4` varchar(255) NOT NULL default '',
`cf_5` varchar(255) NOT NULL default '',
`cf_6` varchar(255) NOT NULL default '',
`cf_7` varchar(255) NOT NULL default '',
`cf_8` varchar(255) NOT NULL default '',
`cf_9` varchar(255) NOT NULL default '',
`cf_10` varchar(255) NOT NULL default ''
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[group_table]`
##
DROP TABLE IF EXISTS `$g4[group_table]`;
CREATE TABLE `$g4[group_table]` (
`gr_id` varchar(10) NOT NULL default '',
`gr_subject` varchar(255) NOT NULL default '',
`gr_admin` varchar(255) NOT NULL default '',
`gr_use_access` tinyint(4) NOT NULL default '0',
`gr_1_subj` varchar(255) NOT NULL default '',
`gr_2_subj` varchar(255) NOT NULL default '',
`gr_3_subj` varchar(255) NOT NULL default '',
`gr_4_subj` varchar(255) NOT NULL default '',
`gr_5_subj` varchar(255) NOT NULL default '',
`gr_6_subj` varchar(255) NOT NULL default '',
`gr_7_subj` varchar(255) NOT NULL default '',
`gr_8_subj` varchar(255) NOT NULL default '',
`gr_9_subj` varchar(255) NOT NULL default '',
`gr_10_subj` varchar(255) NOT NULL default '',
`gr_1` varchar(255) NOT NULL default '',
`gr_2` varchar(255) NOT NULL default '',
`gr_3` varchar(255) NOT NULL default '',
`gr_4` varchar(255) NOT NULL default '',
`gr_5` varchar(255) NOT NULL default '',
`gr_6` varchar(255) NOT NULL default '',
`gr_7` varchar(255) NOT NULL default '',
`gr_8` varchar(255) NOT NULL default '',
`gr_9` varchar(255) NOT NULL default '',
`gr_10` varchar(255) NOT NULL default '',
PRIMARY KEY (`gr_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[group_member_table]`
##
DROP TABLE IF EXISTS `$g4[group_member_table]`;
CREATE TABLE `$g4[group_member_table]` (
`gm_id` int(11) NOT NULL auto_increment,
`gr_id` varchar(255) NOT NULL default '',
`mb_id` varchar(255) NOT NULL default '',
`gm_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`gm_id`),
KEY `gr_id` (`gr_id`),
KEY `mb_id` (`mb_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[login_table]`
##
DROP TABLE IF EXISTS `$g4[login_table]`;
CREATE TABLE `$g4[login_table]` (
`lo_ip` varchar(255) NOT NULL default '',
`mb_id` varchar(255) NOT NULL default '',
`lo_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`lo_location` text NOT NULL,
`lo_url` text NOT NULL,
PRIMARY KEY (`lo_ip`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[mail_table]`
##
DROP TABLE IF EXISTS `$g4[mail_table]`;
CREATE TABLE `$g4[mail_table]` (
`ma_id` int(11) NOT NULL auto_increment,
`ma_subject` varchar(255) NOT NULL default '',
`ma_content` mediumtext NOT NULL,
`ma_time` datetime NOT NULL default '0000-00-00 00:00:00',
`ma_ip` varchar(255) NOT NULL default '',
`ma_last_option` text NOT NULL,
PRIMARY KEY (`ma_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[member_table]`
##
DROP TABLE IF EXISTS `$g4[member_table]`;
CREATE TABLE `$g4[member_table]` (
`mb_no` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL default '',
`mb_password` varchar(255) NOT NULL default '',
`mb_name` varchar(255) NOT NULL default '',
`mb_nick` varchar(255) NOT NULL default '',
`mb_nick_date` date NOT NULL default '0000-00-00',
`mb_email` varchar(255) NOT NULL default '',
`mb_homepage` varchar(255) NOT NULL default '',
`mb_password_q` varchar(255) NOT NULL default '',
`mb_password_a` varchar(255) NOT NULL default '',
`mb_level` tinyint(4) NOT NULL default '0',
`mb_jumin` varchar(255) NOT NULL default '',
`mb_sex` char(1) NOT NULL default '',
`mb_birth` varchar(255) NOT NULL default '',
`mb_tel` varchar(255) NOT NULL default '',
`mb_hp` varchar(255) NOT NULL default '',
`mb_zip1` char(3) NOT NULL default '',
`mb_zip2` char(3) NOT NULL default '',
`mb_addr1` varchar(255) NOT NULL default '',
`mb_addr2` varchar(255) NOT NULL default '',
`mb_signature` text NOT NULL,
`mb_recommend` varchar(255) NOT NULL default '',
`mb_point` int(11) NOT NULL default '0',
`mb_today_login` datetime NOT NULL default '0000-00-00 00:00:00',
`mb_login_ip` varchar(255) NOT NULL default '',
`mb_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`mb_ip` varchar(255) NOT NULL default '',
`mb_leave_date` varchar(8) NOT NULL default '',
`mb_intercept_date` varchar(8) NOT NULL default '',
`mb_email_certify` datetime NOT NULL default '0000-00-00 00:00:00',
`mb_memo` text NOT NULL,
`mb_lost_certify` varchar(255) NOT NULL,
`mb_mailling` tinyint(4) NOT NULL default '0',
`mb_sms` tinyint(4) NOT NULL default '0',
`mb_open` tinyint(4) NOT NULL default '0',
`mb_open_date` date NOT NULL default '0000-00-00',
`mb_profile` text NOT NULL,
`mb_memo_call` varchar(255) NOT NULL default '',
`mb_1` varchar(255) NOT NULL default '',
`mb_2` varchar(255) NOT NULL default '',
`mb_3` varchar(255) NOT NULL default '',
`mb_4` varchar(255) NOT NULL default '',
`mb_5` varchar(255) NOT NULL default '',
`mb_6` varchar(255) NOT NULL default '',
`mb_7` varchar(255) NOT NULL default '',
`mb_8` varchar(255) NOT NULL default '',
`mb_9` varchar(255) NOT NULL default '',
`mb_10` varchar(255) NOT NULL default '',
PRIMARY KEY (`mb_no`),
UNIQUE KEY `mb_id` (`mb_id`),
KEY `mb_today_login` (`mb_today_login`),
KEY `mb_datetime` (`mb_datetime`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[memo_table]`
##
DROP TABLE IF EXISTS `$g4[memo_table]`;
CREATE TABLE `$g4[memo_table]` (
`me_id` int(11) NOT NULL default '0',
`me_recv_mb_id` varchar(255) NOT NULL default '',
`me_send_mb_id` varchar(255) NOT NULL default '',
`me_send_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`me_read_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`me_memo` text NOT NULL,
PRIMARY KEY (`me_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[point_table]`
##
DROP TABLE IF EXISTS `$g4[point_table]`;
CREATE TABLE `$g4[point_table]` (
`po_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(20) NOT NULL default '',
`po_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`po_content` varchar(255) NOT NULL default '',
`po_point` int(11) NOT NULL default '0',
`po_rel_table` varchar(20) NOT NULL default '',
`po_rel_id` varchar(20) NOT NULL default '',
`po_rel_action` varchar(255) NOT NULL default '',
PRIMARY KEY (`po_id`),
KEY `index1` (`mb_id`,`po_rel_table`,`po_rel_id`,`po_rel_action`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[poll_table]`
##
DROP TABLE IF EXISTS `$g4[poll_table]`;
CREATE TABLE `$g4[poll_table]` (
`po_id` int(11) NOT NULL auto_increment,
`po_subject` varchar(255) NOT NULL default '',
`po_poll1` varchar(255) NOT NULL default '',
`po_poll2` varchar(255) NOT NULL default '',
`po_poll3` varchar(255) NOT NULL default '',
`po_poll4` varchar(255) NOT NULL default '',
`po_poll5` varchar(255) NOT NULL default '',
`po_poll6` varchar(255) NOT NULL default '',
`po_poll7` varchar(255) NOT NULL default '',
`po_poll8` varchar(255) NOT NULL default '',
`po_poll9` varchar(255) NOT NULL default '',
`po_cnt1` int(11) NOT NULL default '0',
`po_cnt2` int(11) NOT NULL default '0',
`po_cnt3` int(11) NOT NULL default '0',
`po_cnt4` int(11) NOT NULL default '0',
`po_cnt5` int(11) NOT NULL default '0',
`po_cnt6` int(11) NOT NULL default '0',
`po_cnt7` int(11) NOT NULL default '0',
`po_cnt8` int(11) NOT NULL default '0',
`po_cnt9` int(11) NOT NULL default '0',
`po_etc` varchar(255) NOT NULL default '',
`po_level` tinyint(4) NOT NULL default '0',
`po_point` int(11) NOT NULL default '0',
`po_date` date NOT NULL default '0000-00-00',
`po_ips` mediumtext NOT NULL,
`mb_ids` text NOT NULL,
PRIMARY KEY (`po_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[poll_etc_table]`
##
DROP TABLE IF EXISTS `$g4[poll_etc_table]`;
CREATE TABLE `$g4[poll_etc_table]` (
`pc_id` int(11) NOT NULL default '0',
`po_id` int(11) NOT NULL default '0',
`mb_id` varchar(255) NOT NULL default '',
`pc_name` varchar(255) NOT NULL default '',
`pc_idea` varchar(255) NOT NULL default '',
`pc_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`pc_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[popular_table]`
##
DROP TABLE IF EXISTS `$g4[popular_table]`;
CREATE TABLE `$g4[popular_table]` (
`pp_id` int(11) NOT NULL auto_increment,
`pp_word` varchar(50) NOT NULL default '',
`pp_date` date NOT NULL default '0000-00-00',
`pp_ip` varchar(50) NOT NULL default '',
PRIMARY KEY (`pp_id`),
UNIQUE KEY `index1` (`pp_date`,`pp_word`,`pp_ip`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[scrap_table]`
##
DROP TABLE IF EXISTS `$g4[scrap_table]`;
CREATE TABLE `$g4[scrap_table]` (
`ms_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL default '',
`bo_table` varchar(20) NOT NULL default '',
`wr_id` varchar(15) NOT NULL default '',
`ms_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`ms_id`),
KEY `mb_id` (`mb_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[token_table]`
##
DROP TABLE IF EXISTS `$g4[token_table]`;
CREATE TABLE `$g4[token_table]` (
`to_token` varchar(32) NOT NULL default '',
`to_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`to_ip` varchar(255) NOT NULL default '',
PRIMARY KEY (`to_token`),
KEY `to_datetime` (`to_datetime`),
KEY `to_ip` (`to_ip`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[visit_table]`
##
DROP TABLE IF EXISTS `$g4[visit_table]`;
CREATE TABLE `$g4[visit_table]` (
`vi_id` int(11) NOT NULL default '0',
`vi_ip` varchar(255) NOT NULL default '',
`vi_date` date NOT NULL default '0000-00-00',
`vi_time` time NOT NULL default '00:00:00',
`vi_referer` text NOT NULL,
`vi_agent` varchar(255) NOT NULL default '',
PRIMARY KEY (`vi_id`),
UNIQUE KEY `index1` (`vi_ip`,`vi_date`),
KEY `index2` (`vi_date`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[visit_sum_table]`
##
DROP TABLE IF EXISTS `$g4[visit_sum_table]`;
CREATE TABLE `$g4[visit_sum_table]` (
`vs_date` date NOT NULL default '0000-00-00',
`vs_count` int(11) NOT NULL default '0',
PRIMARY KEY (`vs_date`),
KEY `index1` (`vs_count`)
) DEFAULT CHARSET=utf8;
버전에 따라 조금씩 차이가 있을 수 있습니다.
##
## Table structure for table `$g4[yc4_banner_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_banner_table]`;
CREATE TABLE `$g4[yc4_banner_table]` (
`bn_id` int(11) NOT NULL auto_increment,
`bn_alt` varchar(255) NOT NULL default '',
`bn_url` varchar(255) NOT NULL default '',
`bn_position` varchar(255) NOT NULL default '',
`bn_border` tinyint(4) NOT NULL default '0',
`bn_new_win` tinyint(4) NOT NULL default '0',
`bn_begin_time` datetime NOT NULL default '0000-00-00 00:00:00',
`bn_end_time` datetime NOT NULL default '0000-00-00 00:00:00',
`bn_time` datetime NOT NULL default '0000-00-00 00:00:00',
`bn_hit` int(11) NOT NULL default '0',
`bn_order` int(11) NOT NULL default '0',
PRIMARY KEY (`bn_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_card_history_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_card_history_table]`;
CREATE TABLE `$g4[yc4_card_history_table]` (
`cd_id` int(11) NOT NULL auto_increment,
`od_id` varchar(10) NOT NULL default '',
`on_uid` varchar(32) NOT NULL default '',
`cd_mall_id` varchar(20) NOT NULL default '',
`cd_amount` int(11) NOT NULL default '0',
`cd_app_no` varchar(20) NOT NULL default '',
`cd_app_rt` varchar(8) NOT NULL default '',
`cd_trade_ymd` date NOT NULL default '0000-00-00',
`cd_trade_hms` time NOT NULL default '00:00:00',
`cd_quota` char(2) NOT NULL default '',
`cd_opt01` varchar(255) NOT NULL default '',
`cd_opt02` varchar(255) NOT NULL default '',
`cd_time` datetime NOT NULL default '0000-00-00 00:00:00',
`cd_ip` varchar(25) NOT NULL default '',
PRIMARY KEY (`cd_id`),
KEY `od_id` (`od_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_cart_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_cart_table]`;
CREATE TABLE `$g4[yc4_cart_table]` (
`ct_id` int(11) NOT NULL auto_increment,
`on_uid` varchar(32) NOT NULL default '',
`it_id` varchar(10) NOT NULL default '0',
`it_opt1` varchar(255) NOT NULL default '',
`it_opt2` varchar(255) NOT NULL default '',
`it_opt3` varchar(255) NOT NULL default '',
`it_opt4` varchar(255) NOT NULL default '',
`it_opt5` varchar(255) NOT NULL default '',
`it_opt6` varchar(255) NOT NULL default '',
`ct_status` enum('쇼핑','주문','준비','배송','완료','취소','반품','품절') NOT NULL default '쇼핑',
`ct_history` text NOT NULL,
`ct_amount` int(11) NOT NULL default '0',
`ct_point` int(11) NOT NULL default '0',
`ct_point_use` tinyint(4) NOT NULL default '0',
`ct_stock_use` tinyint(4) NOT NULL default '0',
`ct_qty` int(11) NOT NULL default '0',
`ct_time` datetime NOT NULL default '0000-00-00 00:00:00',
`ct_ip` varchar(25) NOT NULL default '',
`ct_send_cost` varchar(255) NOT NULL,
`ct_direct` tinyint(4) NOT NULL,
PRIMARY KEY (`ct_id`),
KEY `on_uid` (`on_uid`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_category_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_category_table]`;
CREATE TABLE `$g4[yc4_category_table]` (
`ca_id` varchar(10) NOT NULL default '0',
`ca_name` varchar(255) NOT NULL default '',
`ca_skin` varchar(255) NOT NULL default '',
`ca_opt1_subject` varchar(255) NOT NULL default '',
`ca_opt2_subject` varchar(255) NOT NULL default '',
`ca_opt3_subject` varchar(255) NOT NULL default '',
`ca_opt4_subject` varchar(255) NOT NULL default '',
`ca_opt5_subject` varchar(255) NOT NULL default '',
`ca_opt6_subject` varchar(255) NOT NULL default '',
`ca_img_width` int(11) NOT NULL default '0',
`ca_img_height` int(11) NOT NULL default '0',
`ca_sell_email` varchar(255) NOT NULL default '',
`ca_use` tinyint(4) NOT NULL default '0',
`ca_stock_qty` int(11) NOT NULL default '0',
`ca_explan_html` tinyint(4) NOT NULL default '0',
`ca_head_html` text NOT NULL,
`ca_tail_html` text NOT NULL,
`ca_list_mod` int(11) NOT NULL default '0',
`ca_list_row` int(11) NOT NULL default '0',
`ca_include_head` varchar(255) NOT NULL default '',
`ca_include_tail` varchar(255) NOT NULL default '',
`ca_mb_id` varchar(255) NOT NULL default '',
PRIMARY KEY (`ca_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_content_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_content_table]`;
CREATE TABLE `$g4[yc4_content_table]` (
`co_id` varchar(20) NOT NULL default '',
`co_html` tinyint(4) NOT NULL default '0',
`co_subject` varchar(255) NOT NULL default '',
`co_content` longtext NOT NULL,
`co_hit` int(11) NOT NULL default '0',
`co_include_head` varchar(255) NOT NULL,
`co_include_tail` varchar(255) NOT NULL,
PRIMARY KEY (`co_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_default_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_default_table]`;
CREATE TABLE `$g4[yc4_default_table]` (
`de_admin_company_owner` varchar(255) NOT NULL default '',
`de_admin_company_name` varchar(255) NOT NULL default '',
`de_admin_company_saupja_no` varchar(255) NOT NULL default '',
`de_admin_company_tel` varchar(255) NOT NULL default '',
`de_admin_company_fax` varchar(255) NOT NULL default '',
`de_admin_tongsin_no` varchar(255) NOT NULL default '',
`de_admin_company_zip` varchar(255) NOT NULL default '',
`de_admin_company_addr` varchar(255) NOT NULL default '',
`de_admin_info_name` varchar(255) NOT NULL default '',
`de_admin_info_email` varchar(255) NOT NULL default '',
`de_type1_list_use` int(11) NOT NULL default '0',
`de_type1_list_skin` varchar(255) NOT NULL default '',
`de_type1_list_mod` int(11) NOT NULL default '0',
`de_type1_list_row` int(11) NOT NULL default '0',
`de_type1_img_width` int(11) NOT NULL default '0',
`de_type1_img_height` int(11) NOT NULL default '0',
`de_type2_list_use` int(11) NOT NULL default '0',
`de_type2_list_skin` varchar(255) NOT NULL default '',
`de_type2_list_mod` int(11) NOT NULL default '0',
`de_type2_list_row` int(11) NOT NULL default '0',
`de_type2_img_width` int(11) NOT NULL default '0',
`de_type2_img_height` int(11) NOT NULL default '0',
`de_type3_list_use` int(11) NOT NULL default '0',
`de_type3_list_skin` varchar(255) NOT NULL default '',
`de_type3_list_mod` int(11) NOT NULL default '0',
`de_type3_list_row` int(11) NOT NULL default '0',
`de_type3_img_width` int(11) NOT NULL default '0',
`de_type3_img_height` int(11) NOT NULL default '0',
`de_type4_list_use` int(11) NOT NULL default '0',
`de_type4_list_skin` varchar(255) NOT NULL default '',
`de_type4_list_mod` int(11) NOT NULL default '0',
`de_type4_list_row` int(11) NOT NULL default '0',
`de_type4_img_width` int(11) NOT NULL default '0',
`de_type4_img_height` int(11) NOT NULL default '0',
`de_type5_list_use` int(11) NOT NULL default '0',
`de_type5_list_skin` varchar(255) NOT NULL default '',
`de_type5_list_mod` int(11) NOT NULL default '0',
`de_type5_list_row` int(11) NOT NULL default '0',
`de_type5_img_width` int(11) NOT NULL default '0',
`de_type5_img_height` int(11) NOT NULL default '0',
`de_rel_list_mod` int(11) NOT NULL default '0',
`de_rel_img_width` int(11) NOT NULL default '0',
`de_rel_img_height` int(11) NOT NULL default '0',
`de_bank_use` int(11) NOT NULL default '0',
`de_bank_account` text NOT NULL,
`de_card_test` int(11) NOT NULL default '0',
`de_card_use` int(11) NOT NULL default '0',
`de_card_point` int(11) NOT NULL default '0',
`de_card_pg` varchar(255) NOT NULL default '',
`de_card_max_amount` int(11) NOT NULL default '0',
`de_banktown_mid` varchar(255) NOT NULL default '',
`de_banktown_auth_key` varchar(255) NOT NULL default '',
`de_telec_mid` varchar(255) NOT NULL default '',
`de_point_settle` int(11) NOT NULL default '0',
`de_level_sell` int(11) NOT NULL default '0',
`de_send_cost_case` varchar(255) NOT NULL default '',
`de_send_cost_limit` varchar(255) NOT NULL default '',
`de_send_cost_list` varchar(255) NOT NULL default '',
`de_hope_date_use` int(11) NOT NULL default '0',
`de_hope_date_after` int(11) NOT NULL default '0',
`de_baesong_content` text NOT NULL,
`de_change_content` text NOT NULL,
`de_point_days` int(11) NOT NULL default '0',
`de_simg_width` int(11) NOT NULL default '0',
`de_simg_height` int(11) NOT NULL default '0',
`de_mimg_width` int(11) NOT NULL default '0',
`de_mimg_height` int(11) NOT NULL default '0',
`de_scroll_banner_use` tinyint(4) NOT NULL default '0',
`de_cart_skin` varchar(255) NOT NULL default '',
`de_register` varchar(255) NOT NULL default '',
`de_sms_cont1` varchar(255) NOT NULL default '',
`de_sms_cont2` varchar(255) NOT NULL default '',
`de_sms_cont3` varchar(255) NOT NULL default '',
`de_sms_cont4` varchar(255) NOT NULL default '',
`de_sms_use1` tinyint(4) NOT NULL default '0',
`de_sms_use2` tinyint(4) NOT NULL default '0',
`de_sms_use3` tinyint(4) NOT NULL default '0',
`de_sms_use4` tinyint(4) NOT NULL default '0',
`de_xonda_id` varchar(255) NOT NULL default '',
`de_sms_hp` varchar(255) NOT NULL default '',
`de_inicis_mid` varchar(255) NOT NULL default '',
`de_inicis_passwd` varchar(255) NOT NULL default '',
`de_dacom_mid` varchar(255) NOT NULL default '',
`de_dacom_test` tinyint(4) NOT NULL default '0',
`de_dacom_mertkey` varchar(255) NOT NULL default '0',
`de_allthegate_mid` varchar(255) NOT NULL default '',
`de_kcp_mid` varchar(255) NOT NULL default '',
`de_iche_use` tinyint(4) NOT NULL default '0',
`de_allat_partner_id` varchar(255) NOT NULL default '',
`de_allat_prefix` varchar(255) NOT NULL default '',
`de_allat_formkey` varchar(255) NOT NULL default '',
`de_allat_crosskey` varchar(255) NOT NULL default '',
`de_tgcorp_mxid` varchar(255) NOT NULL default '',
`de_tgcorp_mxotp` varchar(255) NOT NULL default '',
`de_kspay_id` varchar(255) NOT NULL default '',
`de_item_ps_use` tinyint(4) NOT NULL default '0',
`de_code_dup_use` tinyint(4) NOT NULL default '0',
`de_point_per` tinyint(4) NOT NULL default '0',
`de_admin_buga_no` varchar(255) NOT NULL default '',
`de_different_msg` tinyint(4) NOT NULL default '0',
`de_sms_use` varchar(255) NOT NULL default '',
`de_icode_id` varchar(255) NOT NULL default '',
`de_icode_pw` varchar(255) NOT NULL default '',
`de_icode_server_ip` varchar(255) NOT NULL default '',
`de_icode_server_port` varchar(255) NOT NULL default '',
`de_kcp_site_key` varchar(255) NOT NULL default '',
`de_vbank_use` varchar(255) NOT NULL default '',
`de_taxsave_use` tinyint(4) NOT NULL,
`de_guest_privacy` text NOT NULL,
`de_hp_use` tinyint(4) NOT NULL default '0',
`de_xonda_smskey` varchar(255) NOT NULL,
`de_escrow_use` tinyint(4) NOT NULL default '0'
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_delivery_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_delivery_table]`;
CREATE TABLE `$g4[yc4_delivery_table]` (
`dl_id` int(11) NOT NULL auto_increment,
`dl_company` varchar(255) NOT NULL default '',
`dl_url` varchar(255) NOT NULL default '',
`dl_tel` varchar(255) NOT NULL default '',
`dl_order` int(11) NOT NULL default '0',
PRIMARY KEY (`dl_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_event_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_event_table]`;
CREATE TABLE `$g4[yc4_event_table]` (
`ev_id` int(11) NOT NULL auto_increment,
`it_group` int(11) NOT NULL default '0',
`ev_skin` varchar(255) NOT NULL default '',
`ev_img_width` int(11) NOT NULL default '0',
`ev_img_height` int(11) NOT NULL default '0',
`ev_list_mod` int(11) NOT NULL default '0',
`ev_list_row` int(11) NOT NULL default '0',
`ev_subject` varchar(255) NOT NULL default '',
`ev_head_html` text NOT NULL,
`ev_tail_html` text NOT NULL,
`ev_use` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`ev_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_event_table]_item`
##
DROP TABLE IF EXISTS `$g4[yc4_event_table]_item`;
CREATE TABLE `$g4[yc4_event_table]_item` (
`ev_id` int(11) NOT NULL default '0',
`it_id` varchar(10) NOT NULL default '',
PRIMARY KEY (`ev_id`,`it_id`),
KEY `it_id` (`it_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_faq_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_faq_table]`;
CREATE TABLE `$g4[yc4_faq_table]` (
`fa_id` int(11) NOT NULL auto_increment,
`fm_id` int(11) NOT NULL default '0',
`fa_subject` text NOT NULL,
`fa_content` text NOT NULL,
`fa_order` int(11) NOT NULL default '0',
PRIMARY KEY (`fa_id`),
KEY `fm_id` (`fm_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_faq_table]_master`
##
DROP TABLE IF EXISTS `$g4[yc4_faq_table]_master`;
CREATE TABLE `$g4[yc4_faq_table]_master` (
`fm_id` int(11) NOT NULL auto_increment,
`fm_subject` varchar(255) NOT NULL default '',
`fm_head_html` text NOT NULL,
`fm_tail_html` text NOT NULL,
`fm_order` int(11) NOT NULL default '0',
PRIMARY KEY (`fm_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_item_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_item_table]`;
CREATE TABLE `$g4[yc4_item_table]` (
`it_id` varchar(10) NOT NULL default '',
`ca_id` varchar(10) NOT NULL default '0',
`ca_id2` varchar(255) NOT NULL default '',
`ca_id3` varchar(255) NOT NULL default '',
`it_name` varchar(255) NOT NULL default '',
`it_gallery` tinyint(4) NOT NULL default '0',
`it_maker` varchar(255) NOT NULL default '',
`it_origin` varchar(255) NOT NULL default '',
`it_opt1_subject` varchar(255) NOT NULL default '',
`it_opt2_subject` varchar(255) NOT NULL default '',
`it_opt3_subject` varchar(255) NOT NULL default '',
`it_opt4_subject` varchar(255) NOT NULL default '',
`it_opt5_subject` varchar(255) NOT NULL default '',
`it_opt6_subject` varchar(255) NOT NULL default '',
`it_opt1` text NOT NULL,
`it_opt2` text NOT NULL,
`it_opt3` text NOT NULL,
`it_opt4` text NOT NULL,
`it_opt5` text NOT NULL,
`it_opt6` text NOT NULL,
`it_type1` tinyint(4) NOT NULL default '0',
`it_type2` tinyint(4) NOT NULL default '0',
`it_type3` tinyint(4) NOT NULL default '0',
`it_type4` tinyint(4) NOT NULL default '0',
`it_type5` tinyint(4) NOT NULL default '0',
`it_basic` text NOT NULL,
`it_explan` mediumtext NOT NULL,
`it_explan_html` tinyint(4) NOT NULL default '0',
`it_cust_amount` int(11) NOT NULL default '0',
`it_amount` int(11) NOT NULL default '0',
`it_amount2` int(11) NOT NULL default '0',
`it_amount3` int(11) NOT NULL default '0',
`it_point` int(11) NOT NULL default '0',
`it_sell_email` varchar(255) NOT NULL default '',
`it_use` tinyint(4) NOT NULL default '0',
`it_stock_qty` int(11) NOT NULL default '0',
`it_head_html` text NOT NULL,
`it_tail_html` text NOT NULL,
`it_hit` int(11) NOT NULL default '0',
`it_time` datetime NOT NULL default '0000-00-00 00:00:00',
`it_ip` varchar(25) NOT NULL default '',
`it_order` int(11) NOT NULL default '0',
`it_tel_inq` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`it_id`),
KEY `ca_id` (`ca_id`),
KEY `it_name` (`it_name`),
KEY `it_order` (`it_order`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_item_table]_ps`
##
DROP TABLE IF EXISTS `$g4[yc4_item_table]_ps`;
CREATE TABLE `$g4[yc4_item_table]_ps` (
`is_id` int(11) NOT NULL auto_increment,
`it_id` varchar(10) NOT NULL default '0',
`mb_id` varchar(20) NOT NULL default '',
`is_name` varchar(255) NOT NULL default '',
`is_password` varchar(255) NOT NULL default '',
`is_score` tinyint(4) NOT NULL default '0',
`is_subject` varchar(255) NOT NULL default '',
`is_content` text NOT NULL,
`is_time` datetime NOT NULL default '0000-00-00 00:00:00',
`is_ip` varchar(25) NOT NULL default '',
`is_confirm` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`is_id`),
KEY `index1` (`it_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_item_table]_qa`
##
DROP TABLE IF EXISTS `$g4[yc4_item_table]_qa`;
CREATE TABLE `$g4[yc4_item_table]_qa` (
`iq_id` int(11) NOT NULL auto_increment,
`it_id` varchar(10) NOT NULL default '',
`mb_id` varchar(20) NOT NULL default '',
`iq_name` varchar(255) NOT NULL default '',
`iq_password` varchar(255) NOT NULL default '',
`iq_subject` varchar(255) NOT NULL default '',
`iq_question` text NOT NULL,
`iq_answer` text NOT NULL,
`iq_time` datetime NOT NULL default '0000-00-00 00:00:00',
`iq_ip` varchar(25) NOT NULL default '',
PRIMARY KEY (`iq_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_item_table]_relation`
##
DROP TABLE IF EXISTS `$g4[yc4_item_table]_relation`;
CREATE TABLE `$g4[yc4_item_table]_relation` (
`it_id` varchar(10) NOT NULL default '',
`it_id2` varchar(10) NOT NULL default '',
PRIMARY KEY (`it_id`,`it_id2`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_item_table]_info`
##
DROP TABLE IF EXISTS `$g4[yc4_item_table]_info`;
CREATE TABLE `$g4[yc4_item_table]_info` (
`ii_id` int(11) NOT NULL auto_increment,
`it_id` varchar(10) NOT NULL,
`ii_gubun` varchar(50) NOT NULL,
`ii_article` varchar(50) NOT NULL,
`ii_title` varchar(255) NOT NULL,
`ii_value` varchar(255) NOT NULL,
PRIMARY KEY (`ii_id`),
UNIQUE KEY `it_id` (`it_id`,`ii_gubun`,`ii_article`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_new_win_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_new_win_table]`;
CREATE TABLE `$g4[yc4_new_win_table]` (
`nw_id` int(11) NOT NULL auto_increment,
`nw_begin_time` datetime NOT NULL default '0000-00-00 00:00:00',
`nw_end_time` datetime NOT NULL default '0000-00-00 00:00:00',
`nw_disable_hours` int(11) NOT NULL default '0',
`nw_left` int(11) NOT NULL default '0',
`nw_top` int(11) NOT NULL default '0',
`nw_height` int(11) NOT NULL default '0',
`nw_width` int(11) NOT NULL default '0',
`nw_subject` text NOT NULL,
`nw_content` text NOT NULL,
`nw_content_html` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`nw_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_onlinecalc_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_onlinecalc_table]`;
CREATE TABLE `$g4[yc4_onlinecalc_table]` (
`oc_id` int(11) NOT NULL auto_increment,
`oc_subject` varchar(255) NOT NULL default '',
`oc_category` text NOT NULL,
`oc_head_html` text NOT NULL,
`oc_tail_html` text NOT NULL,
PRIMARY KEY (`oc_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_order_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_order_table]`;
CREATE TABLE `$g4[yc4_order_table]` (
`od_id` varchar(10) NOT NULL default '',
`on_uid` varchar(32) NOT NULL default '',
`mb_id` varchar(20) NOT NULL default '',
`od_pwd` varchar(255) NOT NULL default '',
`od_name` varchar(20) NOT NULL default '',
`od_email` varchar(100) NOT NULL default '',
`od_tel` varchar(20) NOT NULL default '',
`od_hp` varchar(20) NOT NULL default '',
`od_zip1` char(3) NOT NULL default '',
`od_zip2` char(3) NOT NULL default '',
`od_addr1` varchar(100) NOT NULL default '',
`od_addr2` varchar(100) NOT NULL default '',
`od_deposit_name` varchar(20) NOT NULL default '',
`od_b_name` varchar(20) NOT NULL default '',
`od_b_tel` varchar(20) NOT NULL default '',
`od_b_hp` varchar(20) NOT NULL default '',
`od_b_zip1` char(3) NOT NULL default '',
`od_b_zip2` char(3) NOT NULL default '',
`od_b_addr1` varchar(100) NOT NULL default '',
`od_b_addr2` varchar(100) NOT NULL default '',
`od_memo` text NOT NULL,
`od_send_cost` int(11) NOT NULL default '0',
`od_temp_bank` int(11) NOT NULL default '0',
`od_temp_card` int(11) NOT NULL default '0',
`od_temp_hp` int(11) NOT NULL,
`od_temp_point` int(11) NOT NULL default '0',
`od_receipt_bank` int(11) NOT NULL default '0',
`od_receipt_card` int(11) NOT NULL default '0',
`od_receipt_hp` int(11) NOT NULL,
`od_receipt_point` int(11) NOT NULL default '0',
`od_bank_account` varchar(255) NOT NULL default '',
`od_bank_time` datetime NOT NULL default '0000-00-00 00:00:00',
`od_card_time` datetime NOT NULL default '0000-00-00 00:00:00',
`od_hp_time` datetime NOT NULL,
`od_cancel_card` int(11) NOT NULL default '0',
`od_dc_amount` int(11) NOT NULL default '0',
`od_refund_amount` int(11) NOT NULL default '0',
`od_shop_memo` text NOT NULL,
`dl_id` int(11) NOT NULL default '0',
`od_invoice` varchar(255) NOT NULL default '',
`od_invoice_time` datetime NOT NULL default '0000-00-00 00:00:00',
`od_hope_date` date NOT NULL default '0000-00-00',
`od_time` datetime NOT NULL default '0000-00-00 00:00:00',
`od_ip` varchar(25) NOT NULL default '',
`od_settle_case` varchar(255) NOT NULL default '',
`od_escrow1` varchar(255) NOT NULL default '',
`od_escrow2` varchar(255) NOT NULL default '',
`od_escrow3` varchar(255) NOT NULL default '',
`od_cash_no` varchar(255) NOT NULL,
`od_cash_receipt_no` varchar(255) NOT NULL,
`od_cash_app_time` varchar(255) NOT NULL,
`od_cash_reg_stat` varchar(255) NOT NULL,
`od_cash_reg_desc` varchar(255) NOT NULL,
`od_cash_tr_code` varchar(255) NOT NULL,
`od_cash_id_info` varchar(255) NOT NULL,
`od_cash` tinyint(4) NOT NULL,
`od_cash_allthegate_gubun_cd` varchar(255) NOT NULL,
`od_cash_allthegate_confirm_no` varchar(255) NOT NULL,
`od_cash_allthegate_adm_no` varchar(255) NOT NULL,
`od_cash_tgcorp_mxissueno` varchar(255) NOT NULL,
`od_cash_inicis_noappl` varchar(255) NOT NULL,
`od_cash_inicis_pgauthdate` varchar(255) NOT NULL,
`od_cash_inicis_pgauthtime` varchar(255) NOT NULL,
`od_cash_inicis_tid` varchar(255) NOT NULL,
`od_cash_inicis_ruseopt` varchar(255) NOT NULL,
`od_cash_receiptnumber` varchar(255) NOT NULL,
`od_cash_kspay_revatransactionno` varchar(255) NOT NULL,
PRIMARY KEY (`od_id`),
UNIQUE KEY `index1` (`on_uid`),
KEY `index2` (`mb_id`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_on_uid_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_on_uid_table]`;
CREATE TABLE `$g4[yc4_on_uid_table]` (
`on_id` int(11) NOT NULL auto_increment,
`on_uid` varchar(32) NOT NULL default '',
`on_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`session_id` varchar(32) NOT NULL default '',
PRIMARY KEY (`on_id`),
UNIQUE KEY `on_uid` (`on_uid`)
) DEFAULT CHARSET=utf8;
##
## Table structure for table `$g4[yc4_wish_table]`
##
DROP TABLE IF EXISTS `$g4[yc4_wish_table]`;
CREATE TABLE `$g4[yc4_wish_table]` (
`wi_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(20) NOT NULL default '',
`it_id` varchar(10) NOT NULL default '0',
`wi_time` datetime NOT NULL default '0000-00-00 00:00:00',
`wi_ip` varchar(25) NOT NULL default '',
PRIMARY KEY (`wi_id`),
KEY `index1` (`mb_id`)
) DEFAULT CHARSET=utf8;