CREATE TABLE platforms (
date_added time NOT NULL
) ;
CREATE TABLE platforms (
id serial,
name varchar(64),
date_added TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO platforms (name) VALUES ('Test platform');
SELECT * FROM platforms;
SELECT id, name, to_char(date_added, 'dd/mm/YYYY') FROM platforms;