Skip to content

Commit

Permalink
fix(ci): Use the correct schema with the provision fixture command (#794
Browse files Browse the repository at this point in the history
)

addresses #786
  • Loading branch information
elizabethhealy authored May 13, 2024
1 parent 2abef97 commit 459e82a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/cmd/provisionFixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ You can clear/recycle your database with 'docker-compose down' and 'docker-compo
}
defer dbClient.Close()

// update the schema
cfg.DB.Schema += "_policy"

dbI := fixtures.NewDBInterface(*cfg)
f := fixtures.NewFixture(dbI)
fixtures.LoadFixtureData("./service/internal/fixtures/policy_fixtures.yaml")
Expand Down

0 comments on commit 459e82a

Please sign in to comment.