Advertisement
Guest User

Untitled

a guest
May 8th, 2011
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. CREATE TABLE IF NOT EXISTS `bb_posts` (
  2. `post_id` bigint(20) NOT NULL auto_increment,
  3. `forum_id` int(10) NOT NULL default 1,
  4. `topic_id` bigint(20) NOT NULL default 1,
  5. `poster_id` int(10) NOT NULL default 0,
  6. `post_text` text NOT NULL,
  7. `post_time` datetime NOT NULL default '0000-00-00 00:00:00',
  8. `poster_ip` varchar(15) NOT NULL default '',
  9. `post_status` tinyint(1) NOT NULL default 0,
  10. `post_position` bigint(20) NOT NULL default 0,
  11. PRIMARY KEY (`post_id`),
  12. KEY `topic_time` (`topic_id`, `post_time`),
  13. KEY `poster_time` (`poster_id`, `post_time`),
  14. KEY `post_time` (`post_time`),
  15. FULLTEXT KEY `post_text` (`post_text`)
  16. ) ENGINE = MYISAM;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement