DROP TABLE IF EXISTS ibf_posts;
CREATE TABLE ibf_posts (
pid int(10) NOT NULL auto_increment,
append_edit tinyint(1),
edit_time int(10),
author_id mediumint(8) NOT NULL,
author_name varchar(32),
use_sig tinyint(1) NOT NULL,
use_emo tinyint(1) NOT NULL,
ip_address varchar(16) NOT NULL,
post_date int(10),
icon_id smallint(3),
post text,
queued tinyint(1) NOT NULL,
topic_id int(10) NOT NULL,
post_title varchar(255),
new_topic tinyint(1),
edit_name varchar(255),
post_key varchar(32) NOT NULL,
post_parent int(10) NOT NULL,
post_htmlstate smallint(1) NOT NULL,
PRIMARY KEY (pid),
KEY topic_id (topic_id,queued,pid),
KEY author_id (author_id,topic_id),
KEY post_date (post_date),
KEY post (post)
Partager