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

Add support for postgres database #299

Merged
1 commit merged into from
Jun 1, 2023
Merged

Add support for postgres database #299

1 commit merged into from
Jun 1, 2023

Conversation

ghost
Copy link

@ghost ghost commented May 5, 2023

Description

This commit add better support to odatasql for SQL variants, as well as
updating the gorm database driver to connect to postgres when configured
to do so.

Type of Change

[ ] Bug Fix
[X] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

backend/pkg/database/gorm/database.go Outdated Show resolved Hide resolved
installation/aws/VmClarity.cfn Outdated Show resolved Hide resolved
installation/aws/VmClarity.cfn Outdated Show resolved Hide resolved
installation/aws/VmClarity.cfn Show resolved Hide resolved
installation/aws/VmClarity.cfn Outdated Show resolved Hide resolved
backend/pkg/database/odatasql/query.go Outdated Show resolved Hide resolved
installation/aws/VmClarity.cfn Outdated Show resolved Hide resolved
installation/aws/VmClarity.cfn Outdated Show resolved Hide resolved
installation/aws/VmClarity.cfn Outdated Show resolved Hide resolved
@ghost ghost force-pushed the postgres branch 3 times, most recently from 01cd51b to 1ed83c3 Compare May 12, 2023 13:29
@ghost ghost marked this pull request as ready for review May 12, 2023 13:37
@ghost ghost self-requested a review as a code owner May 12, 2023 13:37
@ghost ghost requested review from fishkerez and FrimIdan May 17, 2023 07:51
FrimIdan
FrimIdan previously approved these changes May 18, 2023
@ghost ghost force-pushed the postgres branch 2 times, most recently from 699eb40 to 1a6c3ed Compare May 25, 2023 07:42
This commit add better support to odatasql for SQL variants, as well as
updating the gorm database driver to connect to postgres when configured
to do so.

The cloudformation installer has been updated with a new database
configuration section which allows the user to choose the DB driver
(postgres or sqlite), and also configure options to connect to an
external database.
@ghost ghost added this pull request to the merge queue Jun 1, 2023
Merged via the queue into main with commit 60c555b Jun 1, 2023
5 checks passed
@ghost ghost deleted the postgres branch June 1, 2023 14:12
This pull request was closed.
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.

None yet

3 participants