diff --git a/migrations/sql/V1.0.0__init.sql b/migrations/sql/V1.0.0__init.sql index cb90d353..c175bef5 100644 --- a/migrations/sql/V1.0.0__init.sql +++ b/migrations/sql/V1.0.0__init.sql @@ -1,5 +1,9 @@ +create schema if not exists fta; create schema if not exists rst; +create extension if not exists "postgis" with schema fta; +create extension if not exists "postgis" with schema rst; + set search_path to rst; create table if not exists recreation_resource diff --git a/migrations/sql/V1.0.1__rst_db.sql b/migrations/sql/V1.0.1__rst_db.sql index 7ac34fb0..66275c1c 100644 --- a/migrations/sql/V1.0.1__rst_db.sql +++ b/migrations/sql/V1.0.1__rst_db.sql @@ -1,7 +1,7 @@ -create extension if not exists "postgis"; - create schema if not exists fta; +create extension if not exists "postgis" with schema fta; + set search_path to fta; create table recreation_project (