From 743b33e8258b9153ba414278e41bdf9e030d047b Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Thu, 21 Apr 2022 22:42:26 +0200 Subject: [PATCH] remove setting the postgresql database owner --- core/db/schema-set-version.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/db/schema-set-version.sql b/core/db/schema-set-version.sql index 95c842576d55..2c62adb9c103 100644 --- a/core/db/schema-set-version.sql +++ b/core/db/schema-set-version.sql @@ -1,5 +1,3 @@ -alter database ctsms owner to ctsms; - create or replace function get_database_version() returns text as $$ select coalesce((select description from pg_shdescription join pg_database on objoid = pg_database.oid where datname = 'ctsms' limit 1),'000000000');