Migrations: Implement "photoprism migrations ls" command #2216

Lists the status of migrations. Changed "migrate" to "migrations run".
This commit is contained in:
Michael Mayer
2022-04-01 16:02:58 +02:00
parent ca4c2ae199
commit a61470dfc7
11 changed files with 285 additions and 88 deletions

View File

@@ -24,7 +24,7 @@ func configAction(ctx *cli.Context) error {
dbDriver := conf.DatabaseDriver()
fmt.Printf("%-25s VALUE\n", "NAME")
fmt.Printf("%-25s Value\n", "Name")
// Flags.
fmt.Printf("%-25s %t\n", "debug", conf.Debug())