Skip to content

Commit

Permalink
Fix root
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Jul 26, 2024
1 parent 91d29ea commit 33ad054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/db/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func runMigrations(cfg Config, name string, direction migrate.MigrationDirection
return fmt.Errorf("migration not found with name: %v", name)
}

var migrations = &migrate.EmbedFileSystemMigrationSource{FileSystem: embedMigration, Root: "migrations/"}
var migrations = &migrate.EmbedFileSystemMigrationSource{FileSystem: embedMigration, Root: "migrations/aggregator/"}
nMigrations, err := migrate.Exec(db, "postgres", migrations, direction)
if err != nil {
return err
Expand Down

0 comments on commit 33ad054

Please sign in to comment.