Skip to content

Export .sql on save? #1846

Answered by rkhaotix
dekiesel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dekiesel

You can use pgmodeler-cli and call it from a git hook to trigger the export once you push the model. You can even use the --simulate option of pgmodeler-cli to validate the SQL of the model.

https://pgmodeler.io/support/docs/613-command-line-interface?v=1.1.0

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dekiesel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants