Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Refactor database URL handling in CLI and makefile targets #21

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

matiasvillaverde
Copy link
Owner

Refactor conditional URL creation for database and update database URL for CLI usage.

  • Use ArgDispatcher::database_url() instead of tilde expansion in SqliteDatabase::new
  • Update CLI database URL to ~/.trust/debug.db in makefile
  • Use CLI database URL in setup and clean-db targets
  • Remove command to remove Diesel database URL in delete-db target

Refactor conditional URL creation for database and update database URL for CLI usage.

- Use `ArgDispatcher::database_url()` instead of tilde expansion in `SqliteDatabase::new`
- Update CLI database URL to `~/.trust/debug.db` in `makefile`
- Use CLI database URL in `setup` and `clean-db` targets
- Remove command to remove Diesel database URL in `delete-db` target
@matiasvillaverde matiasvillaverde merged commit d983a3c into main Jun 12, 2023
@matiasvillaverde matiasvillaverde deleted the refactor/staging-db branch June 12, 2023 16:06
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.

1 participant