From 389a441e898b6e09f5377a9d3795c0415d74fcf9 Mon Sep 17 00:00:00 2001 From: Piotr Gawron Date: Mon, 1 Oct 2018 10:34:32 +0200 Subject: [PATCH 1/2] db migration file moved to be included in 12.1.x --- ..._empty_file_to_force_directory_to_be_commited_to_git_repo.sql} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename persist/src/{db/12.0.4/fix_db_20180830.sql => main/resources/db/migration/12.0.4/V12.0.4.20180830__empty_file_to_force_directory_to_be_commited_to_git_repo.sql} (100%) diff --git a/persist/src/db/12.0.4/fix_db_20180830.sql b/persist/src/main/resources/db/migration/12.0.4/V12.0.4.20180830__empty_file_to_force_directory_to_be_commited_to_git_repo.sql similarity index 100% rename from persist/src/db/12.0.4/fix_db_20180830.sql rename to persist/src/main/resources/db/migration/12.0.4/V12.0.4.20180830__empty_file_to_force_directory_to_be_commited_to_git_repo.sql -- GitLab From e81142d78ad31fba3e0e352501d443694549fc47 Mon Sep 17 00:00:00 2001 From: Piotr Gawron Date: Mon, 1 Oct 2018 10:37:02 +0200 Subject: [PATCH 2/2] base db script upgraded to remove reference to postgres user --- persist/src/main/resources/db/migration/V1__base.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/persist/src/main/resources/db/migration/V1__base.sql b/persist/src/main/resources/db/migration/V1__base.sql index 9644b601c..1cf3550d1 100644 --- a/persist/src/main/resources/db/migration/V1__base.sql +++ b/persist/src/main/resources/db/migration/V1__base.sql @@ -3060,10 +3060,10 @@ ALTER TABLE ONLY feedback -- Name: public; Type: ACL; Schema: -; Owner: postgres -- -REVOKE ALL ON SCHEMA public FROM PUBLIC; -REVOKE ALL ON SCHEMA public FROM postgres; -GRANT ALL ON SCHEMA public TO postgres; -GRANT ALL ON SCHEMA public TO PUBLIC; +--REVOKE ALL ON SCHEMA public FROM PUBLIC; +--REVOKE ALL ON SCHEMA public FROM postgres; +--GRANT ALL ON SCHEMA public TO postgres; +--GRANT ALL ON SCHEMA public TO PUBLIC; -- Completed on 2017-09-21 13:13:48 -- GitLab