Corrected db with migrations