mirror of
https://github.com/goharbor/harbor.git
synced 2024-06-30 00:35:07 +02:00
feat: log completion message when database migrated (#17684)
Signed-off-by: chlins <chenyuzh@vmware.com>
This commit is contained in:
parent
3050e856d9
commit
1a1a6d2fd2
|
@ -176,6 +176,8 @@ func main() {
|
|||
if err = migration.Migrate(database); err != nil {
|
||||
log.Fatalf("failed to migrate the database, error: %v", err)
|
||||
}
|
||||
|
||||
log.Info("The database has been migrated successfully")
|
||||
}
|
||||
|
||||
ctx = orm.Clone(ctx)
|
||||
|
|
Loading…
Reference in New Issue
Block a user