inserts a new quantity into the quantities table and returns what it created - timestamp is generated at the SQL level