Enhance table junctions and coordinates

This commit is contained in:
wqy
2022-09-03 00:31:46 +08:00
parent 99bcdde8ca
commit 069e49430e
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
CREATE TABLE COORDINATES
(
Node VARCHAR(32) PRIMARY KEY REFERENCES _NODE(ID)
, Coord POINT NOT NULL DEFAULT(POINT(0.0, 0.0))
, Coord POINT NOT NULL
);
CREATE INDEX COORDINATES_SPGIST ON COORDINATES USING SPGIST(Coord);