Add migrations system

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-01-24 14:48:01 +01:00
parent 6a378a8a2b
commit 64a3072a54
4 changed files with 60 additions and 3 deletions

View File

@@ -94,7 +94,10 @@ func (impl *Implm) Run(
return fmt.Errorf("cannot create pg client: %w", err)
}
probo := probo.NewService(ctx, pgClient)
probo, err := probo.NewService(ctx, pgClient)
if err != nil {
return fmt.Errorf("cannot create probo service: %w", err)
}
apiServer, err := api.NewServer(
api.Config{