battye wrote:That probably would be wise, particularly if you were only adding a column to a vital table such as _users or _posts
Generally, you don't need to worry about undoing SQL queries as they tend not to affect the way the forum runs. Undoing the general PHP changes should be sufficient.
Code: Select all
CREATE TABLE phpbb_shoutbox (
shout_id int(11) unsigned NOT NULL auto_increment,
shout_user_id mediumint(8) NOT NULL,
shout_time int(11) NOT NULL,
shout_ip varchar(32) character set latin1 NOT NULL,
shout_text text collate utf8_bin NOT NULL,
shout_bbcode_bitfield varchar(255) character set latin1 NOT NULL,
shout_bbcode_uid varchar(8) character set latin1 NOT NULL,
shout_bbcode_flags int(11) unsigned NOT NULL default '7',
PRIMARY KEY (shout_id)
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
nabeelmallick wrote:i installed paul's shoutbox.. http://www.phpbb.com/community/viewtopi ... 9&t=590977 which asks me to do this..
so u mean i should goto php my admin of my forums... and delete phpbb_shoutbox table from the database??Code: Select all
CREATE TABLE phpbb_shoutbox ( shout_id int(11) unsigned NOT NULL auto_increment, shout_user_id mediumint(8) NOT NULL, shout_time int(11) NOT NULL, shout_ip varchar(32) character set latin1 NOT NULL, shout_text text collate utf8_bin NOT NULL, shout_bbcode_bitfield varchar(255) character set latin1 NOT NULL, shout_bbcode_uid varchar(8) character set latin1 NOT NULL, shout_bbcode_flags int(11) unsigned NOT NULL default '7', PRIMARY KEY (shout_id) ) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Better to insert the same QUERY but as it is here, below.axl409 wrote:what about when it says this
it doesnt exactly say in the instructions where to actually do thatALTER TABLE `phpbb_drafts` ADD `draft_description` VARCHAR( 255 ) NOT NULL DEFAULT '';
ALTER TABLE `phpbb_topics` ADD `topic_description` VARCHAR( 255 ) NOT NULL DEFAULT '';
`` Backticks (spelling?) aren't DBAL AFAIR but not so important if you are on MySql.ALTER TABLE phpbb_drafts ADD draft_description VARCHAR( 255 ) NOT NULL DEFAULT '';
ALTER TABLE phpbb_topics ADD topic_description VARCHAR( 255 ) NOT NULL DEFAULT '';
You could leave it as it is, no harms.axl409 wrote:i have but noones answering...ok so how do i undo the sql edit then so its back to what it was before?