diff options
Diffstat (limited to 'config/database.yml.example')
-rw-r--r-- | config/database.yml.example | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/config/database.yml.example b/config/database.yml.example index 379469f79c5..5b5c3f0b80b 100644 --- a/config/database.yml.example +++ b/config/database.yml.example @@ -1,32 +1,43 @@ -development: +# +# PRODUCTION +# +production: adapter: mysql2 encoding: utf8 reconnect: false - database: gitlabhq_development + database: gitlabhq_production pool: 5 username: root password: "secure password" # socket: /tmp/mysql.sock -# Warning: The database defined as "test" will be erased and -# re-generated from your development database when you run "rake". -# Do not set this db to the same as development or production. -test: + +# +# Development specific +# +# +development: adapter: mysql2 encoding: utf8 reconnect: false - database: gitlabhq_test + database: gitlabhq_development pool: 5 username: root password: "secure password" # socket: /tmp/mysql.sock -production: +# Warning: The database defined as "test" will be erased and +# re-generated from your development database when you run "rake". +# Do not set this db to the same as development or production. +test: &test adapter: mysql2 encoding: utf8 reconnect: false - database: gitlabhq_production + database: gitlabhq_test pool: 5 username: root password: "secure password" # socket: /tmp/mysql.sock + +cucumber: + <<: *test |