aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r--Zotlabs/Update/_1256.php4
1 files changed, 2 insertions, 2 deletions
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);"
);
}