From 39fee533a5dd74931dd02c06c81f81757fe48aec Mon Sep 17 00:00:00 2001 From: John Davis Date: Fri, 16 Sep 2022 12:30:55 -0400 Subject: [PATCH] Point to init command as safer way to initialize empty database --- lib/galaxy/model/migrations/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/galaxy/model/migrations/README.md b/lib/galaxy/model/migrations/README.md index 1b03e24104b..a570113922f 100644 --- a/lib/galaxy/model/migrations/README.md +++ b/lib/galaxy/model/migrations/README.md @@ -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