aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/update.php b/update.php
index 5e5ec3e86..37dce341f 100644
--- a/update.php
+++ b/update.php
@@ -1309,10 +1309,10 @@ function update_1150() {
function update_1151() {
- $r = q("CREATE TABLE IF NOT EXISTS lock (
+ $r = q("CREATE TABLE IF NOT EXISTS locks (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
- name CHAR(128) NOT NULL ,
- locked TINYINT(1) NOT NULL DEFAULT '0'
+ name CHAR( 128 ) NOT NULL ,
+ locked TINYINT( 1 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM DEFAULT CHARSET=utf8 ");
if (!$r)
return UPDATE_FAILED;