Skip to content

Commit

Permalink
describe migration package
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jan 19, 2024
1 parent 8ff3b46 commit 8f7715a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ Apply all available migrations:
rockhopper up
```

When marking the migration script with `@package app1`, the migration scripts will be executed per package,
here is the flow:

- Collect all migration scripts
- Categorize the migration scripts by their package name
- Iterate the migration scripts by package

The default package name is set to `main`

## Downgrade

Roll back a single migration from the current version:
Expand Down

0 comments on commit 8f7715a

Please sign in to comment.