diff --git a/database/migrations/schema/024_tsm_system_rows_extension.sql b/database/migrations/schema/024_tsm_system_rows_extension.sql index 74dcb10df..037e8e4e4 100644 --- a/database/migrations/schema/024_tsm_system_rows_extension.sql +++ b/database/migrations/schema/024_tsm_system_rows_extension.sql @@ -1,3 +1,3 @@ -create extension tsm_system_rows; +create extension if not exists tsm_system_rows; ---- create above / drop below ---- diff --git a/database/migrations/schema/034_partman.sql b/database/migrations/schema/034_partman.sql index c81d128ff..44bd85e95 100644 --- a/database/migrations/schema/034_partman.sql +++ b/database/migrations/schema/034_partman.sql @@ -1,5 +1,5 @@ create schema partman; -create extension pg_partman schema partman; +create extension if not exists pg_partman schema partman; do language plpgsql $$ declare