Skip to content

Commit

Permalink
chore: fix fta schema postgis extention error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Jan 14, 2025
1 parent 27d74f4 commit ec54fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 2 additions & 3 deletions migrations/sql/V1.0.0__init.sql
Original file line number Diff line number Diff line change
@@ -1,10 +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;
create extension if not exists "postgis";

set search_path to rst;
set search_path to rst, public;

create table if not exists recreation_resource
(
Expand Down
8 changes: 2 additions & 6 deletions migrations/sql/V1.0.1__rst_db.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
create schema if not exists fta;

create extension if not exists "postgis" with schema fta;

set search_path to fta;
set search_path to fta, public;

create table recreation_project (
forest_file_id varchar(10) primary key,
Expand Down Expand Up @@ -1217,4 +1213,4 @@ comment on column recreation_user_days_code.expiry_date is 'Date the code expire
comment on column recreation_user_days_code.update_timestamp is 'The date and time the value was last modified.';

-- Set the search path back to default
set search_path to rst;
set search_path to rst, public;

0 comments on commit ec54fd8

Please sign in to comment.