create table project ( id serial not null constraint peoject_pk primary key, name varchar(255), type varchar(255), longitude integer, latitude integer, describe varchar(255), user_id integer, img character varying[], qr_code varchar(255) ); create table point ( id serial not null constraint point_pk primary key, name varchar(255), longitude integer, latitude integer, describe varchar(255), qr_code varchar(255), project_id integer );