From 27bc654b5b763d24919154fa890df170245cfdcd Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 21 Feb 2015 16:43:21 +0100 Subject: [PATCH] RSSCloud URL field too long for utf8mb4 Should be the last one. If any URLs are longer than 191 chars, it might require more manual interaction. Any instance with problems running scripts/upgrade.php will get special treatment, help and a lollipop. --- plugins/RSSCloud/RSSCloudPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/RSSCloud/RSSCloudPlugin.php b/plugins/RSSCloud/RSSCloudPlugin.php index 823094f269..55f73783fa 100644 --- a/plugins/RSSCloud/RSSCloudPlugin.php +++ b/plugins/RSSCloud/RSSCloudPlugin.php @@ -175,7 +175,7 @@ class RSSCloudPlugin extends Plugin array( 'fields' => array( 'subscribed' => array('type' => 'int', 'not null' => true), - 'url' => array('type' => 'varchar', 'length' => '255', 'not null' => true), + 'url' => array('type' => 'varchar', 'length' => '191', 'not null' => true), 'failures' => array('type' => 'int', 'not null' => true, 'default' => 0), 'created' => array('type' => 'datetime', 'not null' => true), 'modified' => array('type' => 'timestamp', 'not null' => true),