From 494b49b7e01eb1d77e4661a52fcfcb95102ea380 Mon Sep 17 00:00:00 2001 From: mhmdksh Date: Wed, 13 Mar 2024 18:22:55 +0800 Subject: [PATCH] Fixing the extension enable command --- init-db/{001-setup-pg_cron.sh => 001-configure.sh} | 0 ...003-setup-pg_stat_statements.sql => 002-setup-extensions.sql} | 1 + init-db/002-setup-pg_trgm.sql | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename init-db/{001-setup-pg_cron.sh => 001-configure.sh} (100%) rename init-db/{003-setup-pg_stat_statements.sql => 002-setup-extensions.sql} (66%) delete mode 100644 init-db/002-setup-pg_trgm.sql diff --git a/init-db/001-setup-pg_cron.sh b/init-db/001-configure.sh similarity index 100% rename from init-db/001-setup-pg_cron.sh rename to init-db/001-configure.sh diff --git a/init-db/003-setup-pg_stat_statements.sql b/init-db/002-setup-extensions.sql similarity index 66% rename from init-db/003-setup-pg_stat_statements.sql rename to init-db/002-setup-extensions.sql index 841ff0c..28792b7 100644 --- a/init-db/003-setup-pg_stat_statements.sql +++ b/init-db/002-setup-extensions.sql @@ -1 +1,2 @@ +CREATE EXTENSION pg_trgm; CREATE EXTENSION IF NOT EXISTS pg_stat_statements; diff --git a/init-db/002-setup-pg_trgm.sql b/init-db/002-setup-pg_trgm.sql deleted file mode 100644 index d497121..0000000 --- a/init-db/002-setup-pg_trgm.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE EXTENSION pg_trgm;