|
| 1 | +CREATE TABLE `posts` ( |
| 2 | + `post_id` int(11) unsigned NOT NULL AUTO_INCREMENT, |
| 3 | + `forum_thread_id` int(11) unsigned NOT NULL, |
| 4 | + `forum_forum_id` int(11) unsigned NOT NULL, |
| 5 | + `post_time` int(11) NOT NULL, |
| 6 | + `post_author` tinytext NOT NULL, |
| 7 | + `post_body` mediumtext NOT NULL, |
| 8 | + `forum_post_id` int(11) unsigned NOT NULL, |
| 9 | + `thread_name` tinytext NOT NULL, |
| 10 | + `forum_name` tinytext NOT NULL, |
| 11 | + `forum_page_number` int(11) NOT NULL, |
| 12 | + PRIMARY KEY (`post_id`), |
| 13 | + KEY `forum_post_id` (`forum_post_id`) |
| 14 | +) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +CREATE TABLE `tweets` ( |
| 19 | + `tweet_id` int(11) unsigned NOT NULL AUTO_INCREMENT, |
| 20 | + `twitter_tweet_id` bigint(21) NOT NULL, |
| 21 | + `tweet_text` tinytext NOT NULL, |
| 22 | + `tweet_time` int(11) NOT NULL, |
| 23 | + PRIMARY KEY (`tweet_id`), |
| 24 | + KEY `twitter_tweet_id` (`twitter_tweet_id`) |
| 25 | +) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
| 31 | +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
| 32 | +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
| 33 | +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
| 34 | +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
| 35 | +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
0 commit comments