database config variable migration fix