added a helpful comment that the database migration might take a looong time.
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
|||||||
|
|
||||||
func (sr *scrutinyRepository) Migrate(ctx context.Context) error {
|
func (sr *scrutinyRepository) Migrate(ctx context.Context) error {
|
||||||
|
|
||||||
sr.logger.Infoln("Database migration starting")
|
sr.logger.Infoln("Database migration starting. Please wait, this process may take a long time....")
|
||||||
|
|
||||||
gormMigrateOptions := &gormigrate.Options{
|
gormMigrateOptions := &gormigrate.Options{
|
||||||
TableName: "migrations",
|
TableName: "migrations",
|
||||||
|
|||||||
Reference in New Issue
Block a user