create table Post ( id bigserial not null primary key, description text, date timestamp(6) with time zone, city varchar(64), country varchar(64), latitude float4, longitude float4 ); create table Asset ( id bigserial not null primary key, filename varchar(255) not null, post_id bigint references Post );