$field_type is always a string because you're getting it from the database.