瀏覽代碼

Merge pull request #948 from Arantor/release-2.1

! Stupid typo. Fixes #946.
Arantor 11 年之前
父節點
當前提交
518fc36c1b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      other/upgrade_2-1_mysql.sql
  2. 1 1
      other/upgrade_2-1_postgresql.sql

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

@@ -246,7 +246,7 @@ ADD COLUMN description text NOT NULL;
 --- Adding support for alerts
 /******************************************************************************/
 ---# Adding the count to the members table...
-ALERT TABLE {$db_prefix}members
+ALTER TABLE {$db_prefix}members
 ADD COLUMN alerts int(10) unsigned NOT NULL default '0';
 ---#
 

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

@@ -310,7 +310,7 @@ upgrade_query("
 --- Adding support for alerts
 /******************************************************************************/
 ---# Adding the count to the members table...
-ALERT TABLE {$db_prefix}members
+ALTER TABLE {$db_prefix}members
 ADD COLUMN alerts int NOT NULL default '0';
 ---#