File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class Application < Rails::Application
4141 dbname = db_config [ "dbname" ]
4242 ENV [
4343 "DATABASE_URL"
44- ] = "postgres ://#{ username } :#{ password } @#{ host } :#{ port } /#{ dbname } "
44+ ] = "postgis ://#{ username } :#{ password } @#{ host } :#{ port } /#{ dbname } "
4545 elsif ENV [ "DB_CREDENTIALS" ] . present?
4646 # for environment which uses RDS aurora managed credentials only the the username
4747 # and password is automatically set. The environment variable is then DB_CREDENTIALS
@@ -53,7 +53,7 @@ class Application < Rails::Application
5353 port = ENV . fetch ( "DB_PORT" , 5432 )
5454 ENV [
5555 "DATABASE_URL"
56- ] = "postgres ://#{ username } :#{ password } @#{ host } :#{ port } /#{ dbname } "
56+ ] = "postgis ://#{ username } :#{ password } @#{ host } :#{ port } /#{ dbname } "
5757 end
5858
5959 # Configuration for the application, engines, and railties goes here.
You can’t perform that action at this time.
0 commit comments