📄 mysql_updates_2.php
字号:
<?php# Nothing of interest!$SQL[] = "ALTER TABLE ibf_topics CHANGE approved approved tinyint(1) NOT NULL default '0';";$SQL[] = "ALTER TABLE ibf_topics DROP INDEX last_post;";$SQL[] = "ALTER TABLE ibf_topics DROP INDEX forum_id;";$SQL[] = "alter table ibf_topics add index forum_id( forum_id, pinned, approved);";$SQL[] = "ALTER TABLE ibf_topics add index last_post(forum_id, pinned, last_post);";$SQL[] = "ALTER TABLE ibf_topics ADD topic_rating_total SMALLINT UNSIGNED NOT NULL default '0';";$SQL[] = "ALTER TABLE ibf_topics ADD topic_rating_hits SMALLINT UNSIGNED NOT NULL default '0';";$SQL[] = "ALTER TABLE ibf_topics DROP rating;";$SQL[] = "alter table ibf_topics ADD topic_open_time INT(10) NOT NULL default '0';";$SQL[] = "alter table ibf_topics ADD topic_close_time INT(10) NOT NULL default '0';";?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -