change time field to int (not auto-timestamp)