~launchpad-pqm/launchpad/devel

7245.1.4 by Guilherme Salgado
make schema will now create two new DBs (launchpad_dev_template and launchpad_ftest_playground). make newsampledata will use different DBs for the dev/test sampledata and lint.sh will complain if either current.sql or current-dev.sql don't match dumps of their DB.
1
# A schema's sections, keys, and values are automatically inherited,
2
# except for '.optional' sections. Update this config to override key
3
# values. Values are strings, except for numbers that look like ints.
4
# The tokens true, false, and none are treated as True, False, and None.
5
[meta]
6
extends: ../development/launchpad-lazr.conf
7
8
[database]
10096.3.5 by Guilherme Salgado
Rename config.database.main_slave/master to config.database.rw_main_slave/master and add main_slave and main_master properties to DatabaseConfig, which return the appropriate value (either ro_main_* or rw_main_*), depending on whether or not we're in read-only mode.
9
rw_main_master: dbname=launchpad_ftest_playground
10
rw_main_slave:  dbname=launchpad_ftest_playground
11
ro_main_master: dbname=launchpad_ftest_playground
12
ro_main_slave:  dbname=launchpad_ftest_playground