Writes to database, minus the timestamps.