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

View file

@ -10,7 +10,7 @@ production:
pool: 10 pool: 10
username: git username: git
password: "secure password" password: "secure password"
# host: localhost host: localhost
# socket: /tmp/mysql.sock # socket: /tmp/mysql.sock
# #
@ -25,7 +25,22 @@ development:
pool: 5 pool: 5
username: root username: root
password: "secure password" 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 # socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and # Warning: The database defined as "test" will be erased and
@ -40,6 +55,6 @@ test: &test
pool: 5 pool: 5
username: root username: root
password: password:
# host: localhost host: localhost
# socket: /tmp/mysql.sock # socket: /tmp/mysql.sock
prepared_statements: false prepared_statements: false