about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/version-management/gitlab/Remove-unsupported-database-names.patch
blob: a87e7ac1618c28a1611a31874caa9534706c317a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
From 054e2e2092e3f20267a5d2046978df6d33c72712 Mon Sep 17 00:00:00 2001
From: Yaya <mak@nyantec.com>
Date: Tue, 23 May 2023 13:49:18 +0000
Subject: [PATCH] Remove unsupported database names

The only supported ones are main, ci, main_clusterwide.
---
 config/database.yml.postgresql | 37 ----------------------------------
 1 file changed, 37 deletions(-)

diff --git a/config/database.yml.postgresql b/config/database.yml.postgresql
index da9f458ff..2d6d44e37 100644
--- a/config/database.yml.postgresql
+++ b/config/database.yml.postgresql
@@ -26,13 +26,6 @@ production:
     username: git
     password: "secure password"
     host: localhost
-  geo:
-    adapter: postgresql
-    encoding: unicode
-    database: gitlabhq_geo_production
-    username: git
-    password: "secure password"
-    host: localhost
 
 #
 # Development specific
@@ -57,13 +50,6 @@ development:
     host: localhost
     variables:
       statement_timeout: 15s
-  geo:
-    adapter: postgresql
-    encoding: unicode
-    database: gitlabhq_geo_development
-    username: postgres
-    password: "secure password"
-    host: localhost
 
 #
 # Staging specific
@@ -84,13 +70,6 @@ staging:
     username: git
     password: "secure password"
     host: localhost
-  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".
@@ -119,19 +98,3 @@ test: &test
     reaping_frequency: nil
     variables:
       statement_timeout: 15s
-  geo:
-    adapter: postgresql
-    encoding: unicode
-    database: gitlabhq_geo_test
-    username: postgres
-    password:
-    host: localhost
-    reaping_frequency: nil
-  embedding:
-    adapter: postgresql
-    encoding: unicode
-    database: gitlabhq_embedding_test
-    username: postgres
-    password:
-    host: localhost
-    reaping_frequency: nil
-- 
2.40.1