重构现代化 FastAPI 后端项目框架
This commit is contained in:
11
resources/sql/create/24.coordinates.sql
Normal file
11
resources/sql/create/24.coordinates.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- [COORDINATES]
|
||||
|
||||
create table coordinates
|
||||
(
|
||||
node varchar(32) primary key references _node(id)
|
||||
, coord geometry
|
||||
);
|
||||
|
||||
-- delete when delete node
|
||||
|
||||
create index coordinates_gist on coordinates using gist(coord);
|
||||
Reference in New Issue
Block a user