1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-27 00:20:27 +02:00

added migrate history-sync command

This commit is contained in:
Gani Georgiev
2023-03-25 21:48:19 +02:00
parent e5a22b8bd8
commit 5678339af0
4 changed files with 76 additions and 0 deletions

View File

@@ -123,6 +123,7 @@ func (p *plugin) createCommand() *cobra.Command {
- down [number] - reverts the last [number] applied migrations
- create name - creates new blank migration template file
- collections - creates new migration file with snapshot of the local collections configuration
- history-sync - ensures that the _migrations history table doesn't have references to deleted migration files
`
command := &cobra.Command{