g4를 g5로 변경

This commit is contained in:
chicpro committed 2013-09-13 14:32:06 +09:00
1 parent 9a18a049d5
commit 0f78b67eb7
563 files changed
+4097 -4097

No files matched your search

+68 -68
View File
@@ -1,11 +1,11 @@
-- --------------------------------------------------------
--
-- Table structure for table `g4s_auth`
-- Table structure for table `g5_auth`
--
DROP TABLE IF EXISTS `g4s_auth`;
CREATE TABLE IF NOT EXISTS `g4s_auth` (
DROP TABLE IF EXISTS `g5_auth`;
CREATE TABLE IF NOT EXISTS `g5_auth` (
`mb_id` varchar(255) NOT NULL default '',
`au_menu` varchar(20) NOT NULL default '',
`au_auth` set('r','w','d') NOT NULL default '',
@@ -15,11 +15,11 @@ CREATE TABLE IF NOT EXISTS `g4s_auth` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_board`
-- Table structure for table `g5_board`
--
DROP TABLE IF EXISTS `g4s_board`;
CREATE TABLE IF NOT EXISTS `g4s_board` (
DROP TABLE IF EXISTS `g5_board`;
CREATE TABLE IF NOT EXISTS `g5_board` (
`bo_table` varchar(20) NOT NULL DEFAULT '',
`gr_id` varchar(255) NOT NULL DEFAULT '',
`bo_subject` varchar(255) NOT NULL DEFAULT '',
@@ -126,11 +126,11 @@ CREATE TABLE IF NOT EXISTS `g4s_board` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_board_file`
-- Table structure for table `g5_board_file`
--
DROP TABLE IF EXISTS `g4s_board_file`;
CREATE TABLE IF NOT EXISTS `g4s_board_file` (
DROP TABLE IF EXISTS `g5_board_file`;
CREATE TABLE IF NOT EXISTS `g5_board_file` (
`bo_table` varchar(20) NOT NULL default '',
`wr_id` int(11) NOT NULL default '0',
`bf_no` int(11) NOT NULL default '0',
@@ -149,11 +149,11 @@ CREATE TABLE IF NOT EXISTS `g4s_board_file` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_board_good`
-- Table structure for table `g5_board_good`
--
DROP TABLE IF EXISTS `g4s_board_good`;
CREATE TABLE IF NOT EXISTS `g4s_board_good` (
DROP TABLE IF EXISTS `g5_board_good`;
CREATE TABLE IF NOT EXISTS `g5_board_good` (
`bg_id` int(11) NOT NULL auto_increment,
`bo_table` varchar(20) NOT NULL default '',
`wr_id` int(11) NOT NULL default '0',
@@ -167,11 +167,11 @@ CREATE TABLE IF NOT EXISTS `g4s_board_good` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_board_new`
-- Table structure for table `g5_board_new`
--
DROP TABLE IF EXISTS `g4s_board_new`;
CREATE TABLE IF NOT EXISTS `g4s_board_new` (
DROP TABLE IF EXISTS `g5_board_new`;
CREATE TABLE IF NOT EXISTS `g5_board_new` (
`bn_id` int(11) NOT NULL auto_increment,
`bo_table` varchar(20) NOT NULL default '',
`wr_id` int(11) NOT NULL default '0',
@@ -185,11 +185,11 @@ CREATE TABLE IF NOT EXISTS `g4s_board_new` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_config`
-- Table structure for table `g5_config`
--
DROP TABLE IF EXISTS `g4s_config`;
CREATE TABLE IF NOT EXISTS `g4s_config` (
DROP TABLE IF EXISTS `g5_config`;
CREATE TABLE IF NOT EXISTS `g5_config` (
`cf_title` varchar(255) NOT NULL DEFAULT '',
`cf_admin` varchar(255) NOT NULL DEFAULT '',
`cf_admin_email` varchar(255) NOT NULL DEFAULT '',
@@ -320,10 +320,10 @@ CREATE TABLE IF NOT EXISTS `g4s_config` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_cert_history`
-- Table structure for table `g5_cert_history`
--
CREATE TABLE IF NOT EXISTS `g4s_cert_history` (
CREATE TABLE IF NOT EXISTS `g5_cert_history` (
`cr_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL DEFAULT '',
`cr_company` varchar(255) NOT NULL DEFAULT '',
@@ -338,11 +338,11 @@ CREATE TABLE IF NOT EXISTS `g4s_cert_history` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_group`
-- Table structure for table `g5_group`
--
DROP TABLE IF EXISTS `g4s_group`;
CREATE TABLE IF NOT EXISTS `g4s_group` (
DROP TABLE IF EXISTS `g5_group`;
CREATE TABLE IF NOT EXISTS `g5_group` (
`gr_id` varchar(10) NOT NULL default '',
`gr_subject` varchar(255) NOT NULL default '',
`gr_device` ENUM('both','pc','mobile') NOT NULL DEFAULT 'both',
@@ -376,11 +376,11 @@ CREATE TABLE IF NOT EXISTS `g4s_group` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_group_member`
-- Table structure for table `g5_group_member`
--
DROP TABLE IF EXISTS `g4s_group_member`;
CREATE TABLE IF NOT EXISTS `g4s_group_member` (
DROP TABLE IF EXISTS `g5_group_member`;
CREATE TABLE IF NOT EXISTS `g5_group_member` (
`gm_id` int(11) NOT NULL auto_increment,
`gr_id` varchar(255) NOT NULL default '',
`mb_id` varchar(255) NOT NULL default '',
@@ -393,11 +393,11 @@ CREATE TABLE IF NOT EXISTS `g4s_group_member` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_login`
-- Table structure for table `g5_login`
--
DROP TABLE IF EXISTS `g4s_login`;
CREATE TABLE IF NOT EXISTS `g4s_login` (
DROP TABLE IF EXISTS `g5_login`;
CREATE TABLE IF NOT EXISTS `g5_login` (
`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',
@@ -409,11 +409,11 @@ CREATE TABLE IF NOT EXISTS `g4s_login` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_mail`
-- Table structure for table `g5_mail`
--
DROP TABLE IF EXISTS `g4s_mail`;
CREATE TABLE IF NOT EXISTS `g4s_mail` (
DROP TABLE IF EXISTS `g5_mail`;
CREATE TABLE IF NOT EXISTS `g5_mail` (
`ma_id` int(11) NOT NULL auto_increment,
`ma_subject` varchar(255) NOT NULL default '',
`ma_content` mediumtext NOT NULL,
@@ -426,11 +426,11 @@ CREATE TABLE IF NOT EXISTS `g4s_mail` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_member`
-- Table structure for table `g5_member`
--
DROP TABLE IF EXISTS `g4s_member`;
CREATE TABLE IF NOT EXISTS `g4s_member` (
DROP TABLE IF EXISTS `g5_member`;
CREATE TABLE IF NOT EXISTS `g5_member` (
`mb_no` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL default '',
`mb_password` varchar(255) NOT NULL default '',
@@ -490,11 +490,11 @@ CREATE TABLE IF NOT EXISTS `g4s_member` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_memo`
-- Table structure for table `g5_memo`
--
DROP TABLE IF EXISTS `g4s_memo`;
CREATE TABLE IF NOT EXISTS `g4s_memo` (
DROP TABLE IF EXISTS `g5_memo`;
CREATE TABLE IF NOT EXISTS `g5_memo` (
`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 '',
@@ -507,11 +507,11 @@ CREATE TABLE IF NOT EXISTS `g4s_memo` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_point`
-- Table structure for table `g5_point`
--
DROP TABLE IF EXISTS `g4s_point`;
CREATE TABLE IF NOT EXISTS `g4s_point` (
DROP TABLE IF EXISTS `g5_point`;
CREATE TABLE IF NOT EXISTS `g5_point` (
`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',
@@ -532,11 +532,11 @@ CREATE TABLE IF NOT EXISTS `g4s_point` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_poll`
-- Table structure for table `g5_poll`
--
DROP TABLE IF EXISTS `g4s_poll`;
CREATE TABLE IF NOT EXISTS `g4s_poll` (
DROP TABLE IF EXISTS `g5_poll`;
CREATE TABLE IF NOT EXISTS `g5_poll` (
`po_id` int(11) NOT NULL auto_increment,
`po_subject` varchar(255) NOT NULL default '',
`po_poll1` varchar(255) NOT NULL default '',
@@ -569,11 +569,11 @@ CREATE TABLE IF NOT EXISTS `g4s_poll` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_poll_etc`
-- Table structure for table `g5_poll_etc`
--
DROP TABLE IF EXISTS `g4s_poll_etc`;
CREATE TABLE IF NOT EXISTS `g4s_poll_etc` (
DROP TABLE IF EXISTS `g5_poll_etc`;
CREATE TABLE IF NOT EXISTS `g5_poll_etc` (
`pc_id` int(11) NOT NULL default '0',
`po_id` int(11) NOT NULL default '0',
`mb_id` varchar(255) NOT NULL default '',
@@ -586,11 +586,11 @@ CREATE TABLE IF NOT EXISTS `g4s_poll_etc` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_popular`
-- Table structure for table `g5_popular`
--
DROP TABLE IF EXISTS `g4s_popular`;
CREATE TABLE IF NOT EXISTS `g4s_popular` (
DROP TABLE IF EXISTS `g5_popular`;
CREATE TABLE IF NOT EXISTS `g5_popular` (
`pp_id` int(11) NOT NULL auto_increment,
`pp_word` varchar(50) NOT NULL default '',
`pp_date` date NOT NULL default '0000-00-00',
@@ -602,11 +602,11 @@ CREATE TABLE IF NOT EXISTS `g4s_popular` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_scrap`
-- Table structure for table `g5_scrap`
--
DROP TABLE IF EXISTS `g4s_scrap`;
CREATE TABLE IF NOT EXISTS `g4s_scrap` (
DROP TABLE IF EXISTS `g5_scrap`;
CREATE TABLE IF NOT EXISTS `g5_scrap` (
`ms_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL default '',
`bo_table` varchar(20) NOT NULL default '',
@@ -619,11 +619,11 @@ CREATE TABLE IF NOT EXISTS `g4s_scrap` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_visit`
-- Table structure for table `g5_visit`
--
DROP TABLE IF EXISTS `g4s_visit`;
CREATE TABLE IF NOT EXISTS `g4s_visit` (
DROP TABLE IF EXISTS `g5_visit`;
CREATE TABLE IF NOT EXISTS `g5_visit` (
`vi_id` int(11) NOT NULL default '0',
`vi_ip` varchar(255) NOT NULL default '',
`vi_date` date NOT NULL default '0000-00-00',
@@ -638,11 +638,11 @@ CREATE TABLE IF NOT EXISTS `g4s_visit` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_visit_sum`
-- Table structure for table `g5_visit_sum`
--
DROP TABLE IF EXISTS `g4s_visit_sum`;
CREATE TABLE IF NOT EXISTS `g4s_visit_sum` (
DROP TABLE IF EXISTS `g5_visit_sum`;
CREATE TABLE IF NOT EXISTS `g5_visit_sum` (
`vs_date` date NOT NULL default '0000-00-00',
`vs_count` int(11) NOT NULL default '0',
PRIMARY KEY (`vs_date`),
@@ -652,11 +652,11 @@ CREATE TABLE IF NOT EXISTS `g4s_visit_sum` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_unique`
-- Table structure for table `g5_unique`
--
DROP TABLE IF EXISTS `g4s_uniqid`;
CREATE TABLE IF NOT EXISTS `g4s_uniqid` (
DROP TABLE IF EXISTS `g5_uniqid`;
CREATE TABLE IF NOT EXISTS `g5_uniqid` (
`uq_id` bigint(20) unsigned NOT NULL,
`uq_ip` varchar(255) NOT NULL,
PRIMARY KEY (`uq_id`)
@@ -665,11 +665,11 @@ CREATE TABLE IF NOT EXISTS `g4s_uniqid` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_syndi_log`
-- Table structure for table `g5_syndi_log`
--
DROP TABLE IF EXISTS `g4s_syndi_log`;
CREATE TABLE IF NOT EXISTS `g4s_syndi_log` (
DROP TABLE IF EXISTS `g5_syndi_log`;
CREATE TABLE IF NOT EXISTS `g5_syndi_log` (
`content_id` int(11) NOT NULL,
`bbs_id` varchar(50) NOT NULL,
`title` text NOT NULL,
@@ -681,11 +681,11 @@ CREATE TABLE IF NOT EXISTS `g4s_syndi_log` (
-- --------------------------------------------------------
--
-- Table structure for table `g4s_autosave`
-- Table structure for table `g5_autosave`
--
DROP TABLE IF EXISTS `g4s_autosave`;
CREATE TABLE IF NOT EXISTS `g4s_autosave` (
DROP TABLE IF EXISTS `g5_autosave`;
CREATE TABLE IF NOT EXISTS `g5_autosave` (
`as_id` int(11) NOT NULL AUTO_INCREMENT,
`mb_id` varchar(20) NOT NULL,
`as_uid` bigint(20) unsigned NOT NULL,