diff --git a/migrations/sql/00000001_initialize_schema.up.sql b/migrations/sql/00000001_initialize_schema.up.sql index 0e5fde1e6..21d7ce053 100644 --- a/migrations/sql/00000001_initialize_schema.up.sql +++ b/migrations/sql/00000001_initialize_schema.up.sql @@ -31,14 +31,10 @@ create table model primary key, name varchar not null, meta jsonb, - geo geography(Geometry, 4326), status varchar not null, created_at timestamp not null ); -create index idx_model_geo - on model using gist (geo); - create unique index ix_model_name on model (name); @@ -51,7 +47,6 @@ create table dataset primary key, name varchar not null, meta jsonb, - geo geography(Geometry, 4326), status varchar not null, created_at timestamp not null ); @@ -62,9 +57,6 @@ create index ix_dataset_id create unique index ix_dataset_name on dataset (name); -create index idx_dataset_geo - on dataset using gist (geo); - create table evaluation ( id serial @@ -73,7 +65,6 @@ create table evaluation datum_filter jsonb not null, parameters jsonb not null, status varchar not null, - geo geography(Geometry, 4326), created_at timestamp not null, unique (model_name, datum_filter, parameters) ); @@ -81,9 +72,6 @@ create table evaluation create index ix_evaluation_id on evaluation (id); -create index idx_evaluation_geo - on evaluation using gist (geo); - create table datum ( id serial @@ -92,7 +80,6 @@ create table datum references dataset, uid varchar not null, meta jsonb, - geo geography(Geometry, 4326), created_at timestamp not null, unique (dataset_id, uid) ); @@ -100,9 +87,6 @@ create table datum create index ix_datum_id on datum (id); -create index idx_datum_geo - on datum using gist (geo); - create table metric ( id serial @@ -144,7 +128,6 @@ create table annotation references model, task_type varchar not null, meta jsonb, - geo geography(Geometry, 4326), created_at timestamp not null, box geometry(Polygon), polygon geometry(Polygon), @@ -167,9 +150,6 @@ create index ix_annotation_id create index idx_annotation_polygon on annotation using gist (polygon); -create index idx_annotation_geo - on annotation using gist (geo); - create table groundtruth ( id serial