Fix: mapped fields in migrations sql