You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
469 B

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
);