Skip to content

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented Sep 13, 2025

Implementing #86 and be able to use other backend databases. Now you can use postgres, mysql or sqlite to be specified in the db.json file or parameters.

@javuto javuto requested a review from Copilot September 13, 2025 16:05
@javuto javuto added ✨ enhancement New feature or request backend Backend related issues ⚙️ configuration Configuration related issues labels Sep 13, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements support for multiple database backends (PostgreSQL, MySQL, and SQLite) as requested in issue #86. Previously, the application only supported PostgreSQL as the backend database.

Key changes:

  • Added database type configuration and command-line flags to specify the database backend
  • Extended the database configuration structure to support different connection parameters for each database type
  • Implemented database driver selection logic in the backend manager

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
pkg/config/flags.go Added CLI flags for database type selection and SQLite file path configuration
pkg/backend/backend.go Extended backend manager to support PostgreSQL, MySQL, and SQLite drivers with appropriate connection handling
go.mod Added MySQL driver dependency to support the new database backend option
deploy/config/db.json Updated default configuration template to include database type specification

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@javuto javuto merged commit 09dbcef into main Sep 13, 2025
55 checks passed
@javuto javuto deleted the use-mysql branch September 13, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend related issues ⚙️ configuration Configuration related issues ✨ enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant