Split migrate and downgrade commands

Rename Pending to GetPending
This commit is contained in:
Michał Gdula 2024-05-07 12:47:44 +01:00
parent 2bde65c5a2
commit b8d9ded81e
4 changed files with 73 additions and 43 deletions

View file

@ -23,7 +23,7 @@ func run(flags []string) {
}
if !*skip {
pending, err := db.Pending()
pending, err := db.GetPending()
if err != nil {
fmt.Println(err)
os.Exit(1)