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.
This commit is contained in:
Mikael Nordfeldth 2015-02-21 16:43:21 +01:00
parent c1e3cfe7a7
commit 27bc654b5b

View File

@ -175,7 +175,7 @@ class RSSCloudPlugin extends Plugin
array( array(
'fields' => array( 'fields' => array(
'subscribed' => array('type' => 'int', 'not null' => true), '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), 'failures' => array('type' => 'int', 'not null' => true, 'default' => 0),
'created' => array('type' => 'datetime', 'not null' => true), 'created' => array('type' => 'datetime', 'not null' => true),
'modified' => array('type' => 'timestamp', 'not null' => true), 'modified' => array('type' => 'timestamp', 'not null' => true),