feat: log completion message when database migrated (#17684)

Signed-off-by: chlins <chenyuzh@vmware.com>
This commit is contained in:
Chlins Zhang 2022-10-31 10:45:05 +08:00 committed by GitHub
parent 3050e856d9
commit 1a1a6d2fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)