Change to type SERIAL and DATe (not TIMESTAMP)