Point to init command as safer way to initialize empty database

This commit is contained in:
John Davis
2022-09-16 12:30:55 -04:00
parent 1c7e5fa13e
commit 39fee533a5
+3 -1
View File
@@ -5,7 +5,9 @@ Galaxy's database schema migration system is built on top of [Alembic](https://a
## Administering Galaxy: upgrading and downgrading the database
To initialize an empty database (or create a new SQLite database) start Galaxy. To upgrade or downgrade an existing database, you'll need to use the `manage_db.sh` script, which is the recommended way to interact with Galaxy's database schema migration system.
To initialize an empty database (or create a new SQLite database) start Galaxy. However, this approach is safe only if booting to a single process. A better approach is to use the [*init*](#init) command: `manage_db.sh init`.
To upgrade or downgrade an existing database, you'll need to use the `manage_db.sh` script, which is the recommended way to interact with Galaxy's database schema migration system.
## manage_db.sh