ALTER USER postgres WITH PASSWORD 'postgrespostgres';
\c store
CREATE TABLE products (
id SERIAL PRIMARY KEY,
title VARCHAR(255) NOT NULL,
description TEXT NOT NULL,
price DECIMAL(10,2) NOT NULL,
image VARCHAR(255),
create_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
\dt+
php -S localhost:8000 -t public/
Code fix is link
Code test example link