[MIG-50] Fixed migration of auto incremented columns