autosave(임시저장) table 생성

This commit is contained in:
gnuboard
2013-07-08 18:15:31 +09:00
parent a1fab97753
commit b7d9285305
2 changed files with 21 additions and 1 deletions

View File

@ -646,4 +646,23 @@ CREATE TABLE IF NOT EXISTS `g4s_syndi_log` (
PRIMARY KEY (`content_id`,`bbs_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- --------------------------------------------------------
--
-- Table structure for table `g4s_autosave`
--
DROP TABLE IF EXISTS `g4s_autosave`;
CREATE TABLE IF NOT EXISTS `g4s_autosave` (
`as_id` int(11) NOT NULL AUTO_INCREMENT,
`mb_id` varchar(20) NOT NULL,
`as_uid` bigint(20) unsigned NOT NULL,
`as_subject` varchar(255) NOT NULL,
`as_content` text NOT NULL,
`as_datetime` datetime NOT NULL,
PRIMARY KEY (`as_id`),
UNIQUE KEY `as_uid` (`as_uid`),
KEY `mb_id` (`mb_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------