create table prices ( id integer, ts integer, price real, primary key (id, ts) ); create table products ( id integer, tracking_id text, name text, url text, status integer, primary key (id) );