comparison docs/dev/dbmigrations.rst @ 7406:7784a1212471

cli: convert 'gearbox make-config' into 'kallithea-cli config-create' ... and update documentation.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sun, 18 Nov 2018 20:02:17 +0100
parents 213085032127
children 0080ffd8aea0
comparison
equal deleted inserted replaced
7405:e4b9a1d1fea1 7406:7784a1212471
16 create the database while your new schema changes are applied.) 16 create the database while your new schema changes are applied.)
17 17
18 2. Create a separate throwaway configuration for iterating on the actual 18 2. Create a separate throwaway configuration for iterating on the actual
19 database changes:: 19 database changes::
20 20
21 gearbox make-config temp.ini 21 kallithea-cli config-create temp.ini
22 22
23 Edit the file to change database settings. SQLite is typically fine, 23 Edit the file to change database settings. SQLite is typically fine,
24 but make sure to change the path to e.g. ``temp.db``, to avoid 24 but make sure to change the path to e.g. ``temp.db``, to avoid
25 clobbering any existing database file. 25 clobbering any existing database file.
26 26