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

Create a pipeline to update schemas with Bytebase #16

Open
3 tasks
Francois-Werbrouck opened this issue Apr 3, 2024 · 0 comments
Open
3 tasks

Create a pipeline to update schemas with Bytebase #16

Francois-Werbrouck opened this issue Apr 3, 2024 · 0 comments

Comments

@Francois-Werbrouck
Copy link
Contributor

Francois-Werbrouck commented Apr 3, 2024

Context: I used to deploy new schemas with a python script on codespace since I couldn't connect to the DB within the vpn.

Issue related: #13
I'm unsure of the value of scripting creation with Python here instead of having a .sql file and using psql to do the loading? Especially as I don't really see any error handling.

I wrote some loading scripts for that purpose:

https://github.com/ai-cfia/ailab-db/blob/e2fefdf3b4142d46f2aa6dfe2adaf2ef807facfc/sql/schema2.sql.public_new.sql#L2

Originally posted by @rngadam in #15 (comment)

TODO:

  • Link repo with Bytebase project
  • Import Bytebase SQL checks for git acts
  • Create structure for Bytebase Schema update Pipeline
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

No branches or pull requests

1 participant