Код: Выделить всё
CREATE TABLE phpbb_weblog_groups(group_id SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL, PRIMARY KEY(group_id))
ALTER TABLE phpbb_users ADD user_weblog SMALLINT(5)
ALTER TABLE phpbb_users ADD weblog_start_date INT(11) UNSIGNED
ALTER TABLE phpbb_users ADD weblog_show_entries SMALLINT(5) UNSIGNED DEFAULT "5"
ALTER TABLE phpbb_users ADD weblog_access SMALLINT(5) UNSIGNED DEFAULT "0"
ALTER TABLE phpbb_users ADD weblog_group SMALLINT(5) UNSIGNED DEFAULT "0"
ALTER TABLE phpbb_users ADD INDEX(user_weblog)
ALTER TABLE phpbb_categories ADD cat_allow_weblogs TINYINT(1) UNSIGNED DEFAULT "0"
Произошла ошибка при получении запроса ALTER TABLE phpbb_users ADD weblog_show_entries SMALLINT(5) UNSIGNED DEFAULT "
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"' at line 1