Cast last_seq to string so the field will be mapped to type string, which is the correct type; Do not set last_seq to 0 by default