stable

Clone or download

Read-only

request #9942: Avoid slow database schema migration

This contribution remove the database schema migration introduced by commit adef03bbc7e39f2bef42988b88b1df36134de108. The impacted table can be large so the schema migration can take a long time to be processed. Instead of forcing the schema migration we propose a new cleaning script. The script will update the schema if necessary and purge old entries. The script can be used this way: /usr/share/tuleap/src/utils/php-launcher.sh /usr/share/tuleap/plugins/userlog/bin/clean_userlog_request.php Change-Id: Ibbab26c2671f1c297496d83339b47783d9dec882

Modified Files

Name
A plugins/userlog/bin/clean_userlog_request.php +94 −0 Go to diff View file
D plugins/userlog/db/mysql/2017/20170208_remove_session_hash_field_userlog_request.php +0 −43 Go to diff View file