Fix lower case model reference in model map
Adapted migrations