diff options
author | Zach Prezkuta <fermion@gmx.com> | 2012-06-17 11:25:36 -0600 |
---|---|---|
committer | Zach Prezkuta <fermion@gmx.com> | 2012-07-05 14:27:29 -0600 |
commit | 75ed37fb3d17d97d73a53a62c10caa3a4d11c632 (patch) | |
tree | e4133f6389d4b9c70604a1e11e50b99977c7a65d /update.php | |
parent | 46068935d0c45a63cf34979859063a23314d18b7 (diff) | |
download | volse-hubzilla-75ed37fb3d17d97d73a53a62c10caa3a4d11c632.tar.gz volse-hubzilla-75ed37fb3d17d97d73a53a62c10caa3a4d11c632.tar.bz2 volse-hubzilla-75ed37fb3d17d97d73a53a62c10caa3a4d11c632.zip |
"lock" is a reserved MySQL keyword
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 6 |
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; |