-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Multi-database support Initial version of multi-database support * Github workflow: create multiple test databases * `adapters/postgres/postgres_test.go`: Use dedicated `TestCase` table for tests, to avoid `controllers/tables_test.go` to fail on unexpected data (secondary database will only get some INSERTs those come from context-aware tests, other data will end up in default database) * `adapters/postgres/internal/connection/conn.go`: Removed unused varaible * Updated comments explaining the logic around adding database connections to the pool * Recently changed files re-formatted with `go fmt` * + Added comments around tests for multi-database support
- Loading branch information
Showing
8 changed files
with
250 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.