Set 'staging specific' in database.yml.mysql

This commit is contained in:
bogdanvlviv 2017-03-27 00:10:27 +03:00
parent b3f749036e
commit ac3713e947
No known key found for this signature in database
GPG Key ID: E4ACD76A6DB6DFDD
1 changed files with 18 additions and 3 deletions

View File

@ -10,7 +10,7 @@ production:
pool: 10
username: git
password: "secure password"
# host: localhost
host: localhost
# socket: /tmp/mysql.sock
#
@ -25,7 +25,22 @@ development:
pool: 5
username: root
password: "secure password"
# host: localhost
host: localhost
# socket: /tmp/mysql.sock
#
# Staging specific
#
staging:
adapter: mysql2
encoding: utf8
collation: utf8_general_ci
reconnect: false
database: gitlabhq_staging
pool: 10
username: git
password: "secure password"
host: localhost
# socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and
@ -40,6 +55,6 @@ test: &test
pool: 5
username: root
password:
# host: localhost
host: localhost
# socket: /tmp/mysql.sock
prepared_statements: false