Skip to content

fix(sqlite3): resolve relative test database paths - #1477

Open
fzlzjerry wants to merge 1 commit into
aarondl:masterfrom
fzlzjerry:codex/1409-relative-sqlite-paths
Open

fix(sqlite3): resolve relative test database paths#1477
fzlzjerry wants to merge 1 commit into
aarondl:masterfrom
fzlzjerry:codex/1409-relative-sqlite-paths

Conversation

@fzlzjerry

Copy link
Copy Markdown

Summary

  • resolve relative SQLite dbname values against the directory containing the loaded SQLBoiler config
  • preserve the existing behavior for absolute paths and configurations without a config file
  • add an end-to-end regression that generates models from a relative SQLite database and runs the generated tests from the output directory

Testing

  • go test -count=1 ./drivers/sqlboiler-sqlite3/driver
  • go build ./...
  • go vet ./...

Closes #1409

Copilot AI lite review requested due to automatic review settings August 12, 2026 15:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support relative database path for sqlite3 driver

2 participants