From 0faab9277fbeb7a37bef63deef799bbd8e93706c Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 26 Apr 2023 16:09:14 +0000 Subject: fix update --- Zotlabs/Update/_1256.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Update/_1256.php') diff --git a/Zotlabs/Update/_1256.php b/Zotlabs/Update/_1256.php index db9537117..dd6ded225 100644 --- a/Zotlabs/Update/_1256.php +++ b/Zotlabs/Update/_1256.php @@ -18,8 +18,8 @@ class _1256 { } if(ACTIVE_DBTYPE == DBTYPE_MYSQL) { - $r2 = dbq("ALTER TABLE updates add ud_update tinyint(1) NOT NULL DEFAULT '', - KEY ud_update (ud_update)" + $r2 = dbq("ALTER TABLE updates add ud_update tinyint(1) NOT NULL DEFAULT '0', + ADD INDEX (ud_update);" ); } -- cgit v1.2.3