Advertisement
Guest User

Untitled

a guest
Feb 9th, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 5.08 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 3.3.9
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost
  6. -- Generation Time: Jan 18, 2012 at 04:39 PM
  7. -- Server version: 5.1.53
  8. -- PHP Version: 5.3.4
  9.  
  10. SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  11.  
  12.  
  13. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  14. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  15. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  16. /*!40101 SET NAMES utf8 */;
  17.  
  18.  
  19. -- --------------------------------------------------------
  20.  
  21. --
  22. -- Table structure for table `aproves`
  23. --
  24.  
  25. CREATE TABLE IF NOT EXISTS `aproves` (
  26.   `aprove_id` INT(11) NOT NULL AUTO_INCREMENT,
  27.   `aprove_comment_id` INT(11) NOT NULL,
  28.   `aprove_post_id` INT(11) NOT NULL,
  29.   `aprove_status_id` INT(11) NOT NULL,
  30.   `aprove_admin_id` INT(11) NOT NULL,
  31.   `aprove_time` INT(11) NOT NULL,
  32.   PRIMARY KEY (`aprove_id`)
  33. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=60 ;
  34.  
  35. --
  36. -- Table structure for table `comments`
  37. --
  38.  
  39. CREATE TABLE IF NOT EXISTS `comments` (
  40.   `comment_id` INT(9) NOT NULL AUTO_INCREMENT,
  41.   `comment_post_id` INT(9) NOT NULL,
  42.   `comment_master_id` INT(9) NOT NULL,
  43.   `comment_master_name` text NOT NULL,
  44.   `comment_index` text NOT NULL,
  45.   PRIMARY KEY (`comment_id`)
  46. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=56 ;
  47.  
  48.  
  49. --
  50. -- Table structure for table `hold_comment`
  51. --
  52.  
  53. CREATE TABLE IF NOT EXISTS `hold_comment` (
  54.   `hold_id` INT(11) NOT NULL AUTO_INCREMENT,
  55.   `hold_master_id` INT(11) NOT NULL,
  56.   `hold_master_name` text NOT NULL,
  57.   `hold_index` text NOT NULL,
  58.   `hold_status` INT(1) NOT NULL,
  59.   `hold_post_id` INT(11) NOT NULL,
  60.   PRIMARY KEY (`hold_id`)
  61. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
  62.  
  63.  
  64.  
  65. --
  66. -- Table structure for table `hold_post`
  67. --
  68.  
  69. CREATE TABLE IF NOT EXISTS `hold_post` (
  70.   `hold_id` INT(11) NOT NULL AUTO_INCREMENT,
  71.   `hold_title` text NOT NULL,
  72.   `hold_index` text NOT NULL,
  73.   `hold_category` text NOT NULL,
  74.   `hold_tag` text NOT NULL,
  75.   `hold_master_id` INT(11) NOT NULL,
  76.   `hold_master_name` text NOT NULL,
  77.   `hold_status` INT(1) NOT NULL,
  78.   `hold_time` INT(11) NOT NULL,
  79.   PRIMARY KEY (`hold_id`)
  80. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=90 ;
  81.  
  82. --
  83. -- Table structure for table `likes`
  84. --
  85.  
  86. CREATE TABLE IF NOT EXISTS `likes` (
  87.   `like_user_id` INT(10) NOT NULL,
  88.   `like_index_id` INT(10) NOT NULL
  89. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  90.  
  91. --
  92. -- Dumping data for table `likes`
  93. --
  94.  
  95. INSERT INTO `likes` (`like_user_id`, `like_index_id`) VALUES
  96. (1, 10),
  97. (1, 13),
  98. (1, 11),
  99. (1, 15),
  100. (1, 90);
  101.  
  102. -- --------------------------------------------------------
  103.  
  104. --
  105. -- Table structure for table `limits`
  106. --
  107.  
  108. CREATE TABLE IF NOT EXISTS `limits` (
  109.   `limit_user_id` INT(11) NOT NULL,
  110.   `limit_time` INT(5) NOT NULL,
  111.   `limit_comment` INT(5) NOT NULL,
  112.   `limit_like` INT(5) NOT NULL,
  113.   `limit_post` INT(11) NOT NULL
  114. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  115.  
  116. --
  117. -- Dumping data for table `limits`
  118. --
  119.  
  120.  
  121. -- --------------------------------------------------------
  122.  
  123. --
  124. -- Table structure for table `posts`
  125. --
  126.  
  127. CREATE TABLE IF NOT EXISTS `posts` (
  128.   `post_id` INT(9) NOT NULL AUTO_INCREMENT,
  129.   `post_title` text NOT NULL,
  130.   `post_index` text NOT NULL,
  131.   `post_date` INT(11) NOT NULL,
  132.   `post_master_id` INT(9) NOT NULL,
  133.   `post_master_name` text NOT NULL,
  134.   `post_like` INT(11) NOT NULL,
  135.   `post_view` INT(11) NOT NULL,
  136.   `post_comment` INT(11) NOT NULL,
  137.   `post_tag` text NOT NULL,
  138.   `post_category` text NOT NULL,
  139.   `post_report` INT(10) NOT NULL,
  140.   PRIMARY KEY (`post_id`)
  141. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=91 ;
  142.  
  143.  
  144. --
  145. -- Table structure for table `reports`
  146. --
  147.  
  148. CREATE TABLE IF NOT EXISTS `reports` (
  149.   `report_id` INT(11) NOT NULL,
  150.   `report_post_id` INT(11) NOT NULL,
  151.   `report_user_id` INT(11) NOT NULL,
  152.   `report_comment_id` INT(11) NOT NULL
  153. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  154.  
  155. --
  156. -- Dumping data for table `reports`
  157. --
  158.  
  159. INSERT INTO `reports` (`report_id`, `report_post_id`, `report_user_id`, `report_comment_id`) VALUES
  160. (0, 17, 1, 0),
  161. (0, 90, 1, 0);
  162.  
  163. -- --------------------------------------------------------
  164.  
  165. --
  166. -- Table structure for table `setting`
  167. --
  168.  
  169. CREATE TABLE IF NOT EXISTS `setting` (
  170.   `admin_user_id` INT(11) NOT NULL,
  171.   `admin_user_level` INT(11) NOT NULL,
  172.   `messages_id` INT(11) NOT NULL AUTO_INCREMENT,
  173.   `message_index` text NOT NULL,
  174.   PRIMARY KEY (`messages_id`)
  175. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
  176.  
  177. --
  178. -- Dumping data for table `setting`
  179. --
  180.  
  181. INSERT INTO `setting` (`admin_user_id`, `admin_user_level`, `messages_id`, `message_index`) VALUES
  182. (1, 10, 1, ''),
  183. (1, 10, 2, ''),
  184. (1, 10, 3, ''),
  185. (1, 10, 4, '');
  186.  
  187. -- --------------------------------------------------------
  188.  
  189. --
  190. -- Table structure for table `users`
  191. --
  192.  
  193. CREATE TABLE IF NOT EXISTS `users` (
  194.   `user_id` INT(9) NOT NULL AUTO_INCREMENT,
  195.   `user_name` text NOT NULL,
  196.   `user_password` text NOT NULL,
  197.   `user_email` text NOT NULL,
  198.   `user_gen` INT(1) NOT NULL,
  199.   PRIMARY KEY (`user_id`)
  200. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
  201.  
  202.  
  203.  
  204. -- Database: `information_schema`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement