From 2b23d52ed36dc77ee5ced3898044736faa94c406 Mon Sep 17 00:00:00 2001 From: wqy Date: Sat, 3 Sep 2022 14:50:51 +0800 Subject: [PATCH] Can not add schema for index... --- script/script/table/create/24.coordinates.sql | 4 ++-- script/script/table/drop/24.coordinates.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/script/table/create/24.coordinates.sql b/script/script/table/create/24.coordinates.sql index 4804896..9b2af3b 100644 --- a/script/script/table/create/24.coordinates.sql +++ b/script/script/table/create/24.coordinates.sql @@ -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); diff --git a/script/script/table/drop/24.coordinates.sql b/script/script/table/drop/24.coordinates.sql index e5d50b4..0d74d3e 100644 --- a/script/script/table/drop/24.coordinates.sql +++ b/script/script/table/drop/24.coordinates.sql @@ -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;