Merged in feature/textextract (pull request #108)
Start adding Textract + UUID changes * base * startclient * ts * short * tests
This commit is contained in:
@@ -3,9 +3,9 @@ package server
|
||||
import (
|
||||
"context"
|
||||
|
||||
"queryorchestration/internal/database"
|
||||
"queryorchestration/internal/serviceconfig/build"
|
||||
|
||||
"queryorchestration/internal/database/migrations"
|
||||
"queryorchestration/internal/serviceconfig"
|
||||
|
||||
"github.com/go-playground/validator/v10"
|
||||
@@ -46,7 +46,7 @@ func New(ctx context.Context, cfg Config) (func() error, error) {
|
||||
version := build.GetVersion()
|
||||
cfg.GetLogger().Info("Starting", "version", version)
|
||||
|
||||
err := migrations.Run(ctx, cfg)
|
||||
err := database.RunMigrations(ctx, cfg)
|
||||
if err != nil {
|
||||
return func() error { return nil }, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user