Skip to content

Commit 8058b21

Browse files
committed
docs: update migrations cli snippet
1 parent 2c22f48 commit 8058b21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ To create a new tenant with the CLI follow the [Create Tenant](https://docbox-nz
1616

1717
# Migrations
1818

19-
To be documented, but runs a SQL migration over the database (With optional filtering for environment or tenant)
19+
To be documented, but runs pending tenant migrations (With optional filtering for environment or tenant)
2020

2121
```sh
22-
cargo run --release -p docbox-cli -- migrate --env Development --file ./packages/docbox-cli/migrations/m1_file_parent_id.sql --tenant-id 00000000-0000-0000-0000-000000000000
22+
docbox-cli -- migrate --env Development --tenant-id 00000000-0000-0000-0000-000000000000
2323
```

0 commit comments

Comments
 (0)