Change type to user_type in migration