⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mysql_schema.sql

📁 很好的论坛php+mysql+linux
💻 SQL
📖 第 1 页 / 共 2 页
字号:
  KEY post_id (post_id),  KEY word_id (word_id));# --------------------------------------------------------## Table structure for table 'phpbb_sessions'## Note that if you're running 3.23.x you may want to make# this table a type HEAP. This type of table is stored# within system memory and therefore for big busy boards# is likely to be noticeably faster than continually# writing to disk ...#CREATE TABLE phpbb_sessions (   session_id char(32) DEFAULT '' NOT NULL,   session_user_id mediumint(8) DEFAULT '0' NOT NULL,   session_start int(11) DEFAULT '0' NOT NULL,   session_time int(11) DEFAULT '0' NOT NULL,   session_ip char(8) DEFAULT '0' NOT NULL,   session_page int(11) DEFAULT '0' NOT NULL,   session_logged_in tinyint(1) DEFAULT '0' NOT NULL,   session_admin tinyint(2) DEFAULT '0' NOT NULL,   PRIMARY KEY (session_id),   KEY session_user_id (session_user_id),   KEY session_id_ip_user_id (session_id, session_ip, session_user_id));# --------------------------------------------------------## Table structure for table 'phpbb_smilies'#CREATE TABLE phpbb_smilies (   smilies_id smallint(5) UNSIGNED NOT NULL auto_increment,   code varchar(50),   smile_url varchar(100),   emoticon varchar(75),   PRIMARY KEY (smilies_id));# --------------------------------------------------------## Table structure for table 'phpbb_themes'#CREATE TABLE phpbb_themes (   themes_id mediumint(8) UNSIGNED NOT NULL auto_increment,   template_name varchar(30) NOT NULL default '',   style_name varchar(30) NOT NULL default '',   head_stylesheet varchar(100) default NULL,   body_background varchar(100) default NULL,   body_bgcolor varchar(6) default NULL,   body_text varchar(6) default NULL,   body_link varchar(6) default NULL,   body_vlink varchar(6) default NULL,   body_alink varchar(6) default NULL,   body_hlink varchar(6) default NULL,   tr_color1 varchar(6) default NULL,   tr_color2 varchar(6) default NULL,   tr_color3 varchar(6) default NULL,   tr_class1 varchar(25) default NULL,   tr_class2 varchar(25) default NULL,   tr_class3 varchar(25) default NULL,   th_color1 varchar(6) default NULL,   th_color2 varchar(6) default NULL,   th_color3 varchar(6) default NULL,   th_class1 varchar(25) default NULL,   th_class2 varchar(25) default NULL,   th_class3 varchar(25) default NULL,   td_color1 varchar(6) default NULL,   td_color2 varchar(6) default NULL,   td_color3 varchar(6) default NULL,   td_class1 varchar(25) default NULL,   td_class2 varchar(25) default NULL,   td_class3 varchar(25) default NULL,   fontface1 varchar(50) default NULL,   fontface2 varchar(50) default NULL,   fontface3 varchar(50) default NULL,   fontsize1 tinyint(4) default NULL,   fontsize2 tinyint(4) default NULL,   fontsize3 tinyint(4) default NULL,   fontcolor1 varchar(6) default NULL,   fontcolor2 varchar(6) default NULL,   fontcolor3 varchar(6) default NULL,   span_class1 varchar(25) default NULL,   span_class2 varchar(25) default NULL,   span_class3 varchar(25) default NULL,   img_size_poll smallint(5) UNSIGNED,   img_size_privmsg smallint(5) UNSIGNED,   PRIMARY KEY  (themes_id));# --------------------------------------------------------## Table structure for table 'phpbb_themes_name'#CREATE TABLE phpbb_themes_name (   themes_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,   tr_color1_name char(50),   tr_color2_name char(50),   tr_color3_name char(50),   tr_class1_name char(50),   tr_class2_name char(50),   tr_class3_name char(50),   th_color1_name char(50),   th_color2_name char(50),   th_color3_name char(50),   th_class1_name char(50),   th_class2_name char(50),   th_class3_name char(50),   td_color1_name char(50),   td_color2_name char(50),   td_color3_name char(50),   td_class1_name char(50),   td_class2_name char(50),   td_class3_name char(50),   fontface1_name char(50),   fontface2_name char(50),   fontface3_name char(50),   fontsize1_name char(50),   fontsize2_name char(50),   fontsize3_name char(50),   fontcolor1_name char(50),   fontcolor2_name char(50),   fontcolor3_name char(50),   span_class1_name char(50),   span_class2_name char(50),   span_class3_name char(50),   PRIMARY KEY (themes_id));# --------------------------------------------------------## Table structure for table 'phpbb_topics'#CREATE TABLE phpbb_topics (   topic_id mediumint(8) UNSIGNED NOT NULL auto_increment,   forum_id smallint(8) UNSIGNED DEFAULT '0' NOT NULL,   topic_title char(60) NOT NULL,   topic_poster mediumint(8) DEFAULT '0' NOT NULL,   topic_time int(11) DEFAULT '0' NOT NULL,   topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,   topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,   topic_status tinyint(3) DEFAULT '0' NOT NULL,   topic_vote tinyint(1) DEFAULT '0' NOT NULL,   topic_type tinyint(3) DEFAULT '0' NOT NULL,   topic_first_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,   topic_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,   topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,   PRIMARY KEY (topic_id),   KEY forum_id (forum_id),   KEY topic_moved_id (topic_moved_id),   KEY topic_status (topic_status),   KEY topic_type (topic_type));# --------------------------------------------------------## Table structure for table 'phpbb_topics_watch'#CREATE TABLE phpbb_topics_watch (  topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',  user_id mediumint(8) NOT NULL DEFAULT '0',  notify_status tinyint(1) NOT NULL default '0',  KEY topic_id (topic_id),  KEY user_id (user_id),  KEY notify_status (notify_status));# --------------------------------------------------------## Table structure for table 'phpbb_users'#CREATE TABLE phpbb_users (   user_id mediumint(8) NOT NULL,   user_active tinyint(1) DEFAULT '1',   username varchar(25) NOT NULL,   user_password varchar(32) NOT NULL,   user_session_time int(11) DEFAULT '0' NOT NULL,   user_session_page smallint(5) DEFAULT '0' NOT NULL,   user_lastvisit int(11) DEFAULT '0' NOT NULL,   user_regdate int(11) DEFAULT '0' NOT NULL,   user_level tinyint(4) DEFAULT '0',   user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,   user_timezone decimal(5,2) DEFAULT '0' NOT NULL,   user_style tinyint(4),   user_lang varchar(255),   user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL,   user_new_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,   user_unread_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,   user_last_privmsg int(11) DEFAULT '0' NOT NULL,   user_emailtime int(11),   user_viewemail tinyint(1),   user_attachsig tinyint(1),   user_allowhtml tinyint(1) DEFAULT '1',   user_allowbbcode tinyint(1) DEFAULT '1',   user_allowsmile tinyint(1) DEFAULT '1',   user_allowavatar tinyint(1) DEFAULT '1' NOT NULL,   user_allow_pm tinyint(1) DEFAULT '1' NOT NULL,   user_allow_viewonline tinyint(1) DEFAULT '1' NOT NULL,   user_notify tinyint(1) DEFAULT '1' NOT NULL,   user_notify_pm tinyint(1) DEFAULT '0' NOT NULL,   user_popup_pm tinyint(1) DEFAULT '0' NOT NULL,   user_rank int(11) DEFAULT '0',   user_avatar varchar(100),   user_avatar_type tinyint(4) DEFAULT '0' NOT NULL,   user_email varchar(255),   user_icq varchar(15),   user_website varchar(100),   user_from varchar(100),   user_sig text,   user_sig_bbcode_uid char(10),   user_aim varchar(255),   user_yim varchar(255),   user_msnm varchar(255),   user_occ varchar(100),   user_interests varchar(255),   user_actkey varchar(32),   user_newpasswd varchar(32),   PRIMARY KEY (user_id),   KEY user_session_time (user_session_time));# --------------------------------------------------------## Table structure for table 'phpbb_vote_desc'#CREATE TABLE phpbb_vote_desc (  vote_id mediumint(8) UNSIGNED NOT NULL auto_increment,  topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',  vote_text text NOT NULL,  vote_start int(11) NOT NULL DEFAULT '0',  vote_length int(11) NOT NULL DEFAULT '0',  PRIMARY KEY  (vote_id),  KEY topic_id (topic_id));# --------------------------------------------------------## Table structure for table 'phpbb_vote_results'#CREATE TABLE phpbb_vote_results (  vote_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',  vote_option_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',  vote_option_text varchar(255) NOT NULL,  vote_result int(11) NOT NULL DEFAULT '0',  KEY vote_option_id (vote_option_id),  KEY vote_id (vote_id));# --------------------------------------------------------## Table structure for table 'phpbb_vote_voters'#CREATE TABLE phpbb_vote_voters (  vote_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',  vote_user_id mediumint(8) NOT NULL DEFAULT '0',  vote_user_ip char(8) NOT NULL,  KEY vote_id (vote_id),  KEY vote_user_id (vote_user_id),  KEY vote_user_ip (vote_user_ip));# --------------------------------------------------------## Table structure for table 'phpbb_words'#CREATE TABLE phpbb_words (   word_id mediumint(8) UNSIGNED NOT NULL auto_increment,   word char(100) NOT NULL,   replacement char(100) NOT NULL,   PRIMARY KEY (word_id));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -