aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1220.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-09-17 18:40:49 -0700
committerzotlabs <mike@macgirvin.com>2018-09-17 18:40:49 -0700
commitcc5ef57843f4012f7319a0ffd687fe26950a7790 (patch)
tree6245b5f85f5a844c926dab48acf8633fc864bcd5 /Zotlabs/Update/_1220.php
parentfdc89d1b8972c2bad896eb3d42086b0e91e3c01b (diff)
downloadvolse-hubzilla-cc5ef57843f4012f7319a0ffd687fe26950a7790.tar.gz
volse-hubzilla-cc5ef57843f4012f7319a0ffd687fe26950a7790.tar.bz2
volse-hubzilla-cc5ef57843f4012f7319a0ffd687fe26950a7790.zip
fix listeners table create and expire federation had a syntax error
Diffstat (limited to 'Zotlabs/Update/_1220.php')
-rw-r--r--Zotlabs/Update/_1220.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Update/_1220.php b/Zotlabs/Update/_1220.php
index adcb8c9c6..6ce09c16b 100644
--- a/Zotlabs/Update/_1220.php
+++ b/Zotlabs/Update/_1220.php
@@ -26,14 +26,14 @@ class _1220 {
if(ACTIVE_DBTYPE == DBTYPE_MYSQL) {
$r = q("CREATE TABLE IF NOT EXISTS listeners (
id int(11) NOT NULL AUTO_INCREMENT,
- target_id varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
- portable_id varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
- ltype int(11) NOT NULL DEFAULT '0',
+ target_id varchar(191) NOT NULL DEFAULT '',
+ portable_id varchar(191) NOT NULL DEFAULT '',
+ ltype int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (id),
KEY target_id (target_id),
KEY portable_id (portable_id),
KEY ltype (ltype)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8");
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4");
}