add database migrator for integritydb, update integritydb (derby) to version 4, for avoiding future migration issues