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

Support sqlite to postgres db import #566

Merged
merged 19 commits into from
Nov 21, 2023

Conversation

suprjinx
Copy link
Contributor

@suprjinx suprjinx commented Nov 7, 2023

When importing a sqlite database to postgres, boolean and UUID fields for Apps and Dashboards need to be translated.

This PR extends the "translateFields" function to support UUID type and an additional boolean field.

Fixes #565

@suprjinx suprjinx marked this pull request as ready for review November 8, 2023 15:59
Copy link

@dave-gantenbein dave-gantenbein left a comment

Choose a reason for hiding this comment

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

LGTM

fabiovincenzi
fabiovincenzi previously approved these changes Nov 20, 2023
Copy link
Collaborator

@fabiovincenzi fabiovincenzi left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link

@dave-gantenbein dave-gantenbein left a comment

Choose a reason for hiding this comment

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

lgtm

@suprjinx suprjinx merged commit 833191e into G-Research:main Nov 21, 2023
17 checks passed
@suprjinx suprjinx deleted the db-import-fixes branch November 21, 2023 23:11
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.

Fix db import for apps/dashboards sqlite ->pg
3 participants