aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 20713be0e..00973a53f 100644
--- a/install/update.php
+++ b/install/update.php
@@ -2447,7 +2447,7 @@ function update_r1182() {
function update_r1183() {
- $r1 = q("alter table hook CHANGE priority priority smallint NOT NULL DEFAULT '0' ");
+ $r1 = q("alter table hook ALTER priority priority smallint NOT NULL DEFAULT '0' ");
$r2 = q("create index priority_idx on hook (priority)");
if($r1 && $r2)