getTable('gpodder_subscriptions'); // hotfix due to errors with too long key lengths (https://github.com/thrillfall/nextcloud-gpodder/issues/103) $table->dropIndex('subscriptions_url_user'); $table->addUniqueIndex(['url', "user_id"], 'subscriptions_url_user', [ 'lengths' => [ 500, 200 ] ]); $table->changeColumn('url', ['length' => 1000]); return $schema; } }