Changeb to type SERIAL and DATE (not TIMESTAMP)