From: Bill Erickson Date: Wed, 16 Sep 2015 18:17:05 +0000 (-0400) Subject: Sqitch DB host defaults to 127.0.0.1 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=650fdc90674f1853dffdee6b8ffafaf96939e501;p=working%2FEvergreen.git Sqitch DB host defaults to 127.0.0.1 This works better with default Postgres configs, specifically for setting localhost no-password logins on dev servers. Host can always be overridden via --db-host. Signed-off-by: Bill Erickson --- diff --git a/KCLS/sql/sample-data/sqitch.conf b/KCLS/sql/sample-data/sqitch.conf index 75045a58f7..f3ce0432dc 100644 --- a/KCLS/sql/sample-data/sqitch.conf +++ b/KCLS/sql/sample-data/sqitch.conf @@ -2,7 +2,7 @@ engine = pg [target "evergreen"] # override at run time with --db-user and/or --db-host - uri = postgresql://evergreen@localhost/evergreen + uri = postgresql://evergreen@127.0.0.1/evergreen [engine "pg"] target = evergreen [deploy] diff --git a/KCLS/sql/schema/sqitch.conf b/KCLS/sql/schema/sqitch.conf index 75045a58f7..f3ce0432dc 100644 --- a/KCLS/sql/schema/sqitch.conf +++ b/KCLS/sql/schema/sqitch.conf @@ -2,7 +2,7 @@ engine = pg [target "evergreen"] # override at run time with --db-user and/or --db-host - uri = postgresql://evergreen@localhost/evergreen + uri = postgresql://evergreen@127.0.0.1/evergreen [engine "pg"] target = evergreen [deploy]