Put down a record to the database