X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FEvent%2Fclasses%2FRSVP.php;h=f2ab8f0aa3e81845aef66bd885daeb8a74739f4b;hb=b2cfbded2edce0aa835ac9d589e7055c7a77d25b;hp=84cbd624dc428f0c854c439a25f002605f87d74c;hpb=346a73c36ff0db284b812136bb45a6d92b41b20d;p=quix0rs-gnu-social.git diff --git a/plugins/Event/classes/RSVP.php b/plugins/Event/classes/RSVP.php index 84cbd624dc..f2ab8f0aa3 100644 --- a/plugins/Event/classes/RSVP.php +++ b/plugins/Event/classes/RSVP.php @@ -107,6 +107,7 @@ class RSVP extends Managed_DataObject echo "\nFound old $table table, upgrading it to add 'event_uri' field..."; $schemadef['fields']['event_uri'] = array('type' => 'varchar', 'length' => 191, 'not null' => true, 'description' => 'Event URI'); + $schemadef['fields']['uri']['length'] = 191; // we likely don't have to discover too long keys here $schema->ensureTable($table, $schemadef); $rsvp = new RSVP();