common: database schema checked and updated when service is started