Files
TJWaterServer/script/sql/create/24.coordinates.sql
2022-10-09 11:06:19 +08:00

11 lines
256 B
SQL

-- [COORDINATES]
create table coordinates
(
node varchar(32) primary key references _node(id)
, coord point not null
);
create index coordinates_spgist on coordinates using spgist(coord);
create index coordinates_gist on coordinates using gist(coord);