Setting quantity no longer auto-commits
Added name to ENUM for compatibility with postgresql