]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ActivityModeration/classes/Deleted_notice.php
Some obvious bug fixes for i18n
[quix0rs-gnu-social.git] / plugins / ActivityModeration / classes / Deleted_notice.php
index 05414caab2ee75327cbcd2f984a6039f6f931f94..7a0c6a7f050b40a74a9003ee4ffec9da5a66a731 100644 (file)
@@ -195,6 +195,7 @@ class Deleted_notice extends Managed_DataObject
             echo "\nFound old $table table, upgrading it to add 'act_created' field...";
 
             $schemadef['fields']['act_created'] = array('type' => 'datetime', 'not null' => true, 'description' => 'datetime the notice record was created');
+            $schemadef['fields']['uri']['length'] = 191;    // we likely don't have to discover too long keys here
             $schema->ensureTable($table, $schemadef);
 
             $deleted = new Deleted_notice();