ayaports/user/gitlab-foss/database-config.patch

60 lines
1.4 KiB
Diff
Raw Normal View History

2023-03-09 19:26:01 +00:00
diff --git a/config/database.yml.postgresql.orig b/config/database.yml.postgresql
index c1b1247..dbe5b77 100644
--- a/config/database.yml.postgresql.orig
2023-01-11 17:30:28 +00:00
+++ b/config/database.yml.postgresql
2023-03-09 19:26:01 +00:00
@@ -26,14 +26,7 @@ production:
# username: git
# password: "secure password"
# host: localhost
2023-01-11 17:30:28 +00:00
- geo:
- adapter: postgresql
- encoding: unicode
- database: gitlabhq_geo_production
- username: git
- password: "secure password"
- host: localhost
2023-03-09 19:26:01 +00:00
-
+
2023-01-11 17:30:28 +00:00
#
# Development specific
2023-03-09 19:26:01 +00:00
#
@@ -57,13 +50,6 @@ development:
# host: localhost
# variables:
# statement_timeout: 15s
2023-01-11 17:30:28 +00:00
- geo:
- adapter: postgresql
- encoding: unicode
- database: gitlabhq_geo_development
- username: postgres
- password: "secure password"
- host: localhost
#
# Staging specific
2023-03-09 19:26:01 +00:00
@@ -84,13 +70,6 @@ staging:
# username: git
# password: "secure password"
# host: localhost
2023-01-11 17:30:28 +00:00
- geo:
- adapter: postgresql
- encoding: unicode
- database: gitlabhq_geo_staging
- username: git
- password: "secure password"
- host: localhost
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
2023-03-09 19:26:01 +00:00
@@ -117,10 +96,3 @@ test: &test
# prepared_statements: false
# variables:
# statement_timeout: 15s
2023-01-11 17:30:28 +00:00
- geo:
- adapter: postgresql
- encoding: unicode
- database: gitlabhq_geo_test
- username: postgres
- password:
- host: localhost