Browse Source

! Don't complain if the alerts table already exists

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 11 years ago
parent
commit
00cb6df8d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      other/upgrade_2-1_mysql.sql

+ 1 - 1
other/upgrade_2-1_mysql.sql

@@ -251,7 +251,7 @@ ADD COLUMN alerts int(10) unsigned NOT NULL default '0';
 ---#
 
 ---# Adding the new table for alerts.
-CREATE TABLE {$db_prefix}user_alerts (
+CREATE TABLE IF NOT EXISTS {$db_prefix}user_alerts (
   id_alert int(10) unsigned NOT NULL auto_increment,
   alert_time int(10) unsigned NOT NULL default '0',
   id_member mediumint(10) unsigned NOT NULL default '0',