Skip to content

Commit 47ee09a

Browse files
committed
...
1 parent efa1621 commit 47ee09a

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

docs/admin-guide/cli/migrations.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To undo migrations and roll back your database schema to a previous version:
4343
semaphore migrate --undo-to <version>
4444
```
4545

46-
- `<version>`: The migration version you want to roll back to (e.g., `2.13` or `2.14.4`).
46+
- `<version>` &mdash; The migration version you want to roll back to (e.g., `2.13` or `2.14.4`).
4747

4848
**Example:**
4949
```
@@ -52,6 +52,7 @@ semaphore migrate --undo-to 2.13
5252

5353

5454
## Migration from BoltDB to SQLite/MySQL/PostgreSQL
55+
*Available since version 2.17*
5556

5657
BoltDB was deprecated starting from version 2.16, and many new features introduced in 2.17 are no longer supported by BoltDB. BoltDB support will be fully removed in version 2.19.
5758

@@ -61,16 +62,8 @@ To migrate, first update Semaphore to version 2.17 or later, then configure the
6162
semaphore migrate --from-boltdb /path/to/boltdb/file
6263
```
6364

64-
- `/path/to/boltdb/file` &mdash; Path to the existing BoltDB database file.
65-
6665
The command reads all projects, templates, inventories, repositories, keys, users, and task history from BoltDB and writes them into the database specified in the current Semaphore configuration. The original BoltDB file is not modified.
6766

68-
By default, the database schema is migrated to the latest version supported by the current Semaphore binary. You can combine `--from-boltdb` with `--apply-to` or `--undo-to` to target a specific schema version:
69-
70-
```
71-
semaphore migrate --from-boltdb /path/to/boltdb/file --apply-to 2.17.0
72-
```
73-
7467
Additional arguments:
7568
- `--err-log-size=N` &mdash; Maximum number of error lines displayed in the output.
7669
- `--skip-task-output` &mdash; Do not import task outputs.

0 commit comments

Comments
 (0)