fix(lagoon): migrate:status reads the sets migrate applies (WR-12)

This commit is contained in:
Jakub Zych
2026-10-22 04:03:19 +02:00
parent 17c722da46
commit 57a849d114
8 changed files with 122 additions and 48 deletions

View File

@@ -81,7 +81,7 @@ The application binary has the migration commands:
`migrate:rollback` rolls back the last applied migration of one plugin. Without `--plugin` it picks the last activated plugin that has migrations. To fix a migration you just wrote, roll it back, edit it and run `migrate` again.
`migrate:status` prints each plugin's history table and applied IDs.
`migrate:status` prints the history table and applied IDs of the framework's own sets (under history IDs such as `summercms.attach`) and of each plugin with migrations.
The same operations are Go functions, which is how tests migrate a fresh database: