Can not add schema for index...

This commit is contained in:
wqy
2022-09-03 14:50:51 +08:00
parent 7d2cc5c1fe
commit 2b23d52ed3
2 changed files with 4 additions and 4 deletions

View File

@@ -6,5 +6,5 @@ create table tj.coordinates
, coord point not null
);
create index tj.coordinates_spgist on tj.coordinates using spgist(coord);
create index tj.coordinates_gist on tj.coordinates using gist(coord);
create index tj_coordinates_spgist on tj.coordinates using spgist(coord);
create index tj_coordinates_gist on tj.coordinates using gist(coord);

View File

@@ -1,7 +1,7 @@
-- [coordinates]
drop index if exists tj.coordinates_gist;
drop index if exists tj_coordinates_gist;
drop index if exists tj.coordinates_spgist;
drop index if exists tj_coordinates_spgist;
drop table if exists tj.coordinates;