You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
created something similar some time ago but with docker image for sqlcmd instead of using sqlcmd directly. My problem is how to re-run / trigger the local exec when file changes.
I have an idea but not sure if it works:
use null_resource instead of the db resource
add triggers section and use there the hash of the script content with e.g. filesha256 function
Is that a valid way?
One downside is that the scripts has to be idempotent to not reacreate already existing things.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
created something similar some time ago but with docker image for sqlcmd instead of using sqlcmd directly. My problem is how to re-run / trigger the local exec when file changes.
I have an idea but not sure if it works:
null_resource
instead of the db resourcefilesha256
functionIs that a valid way?
One downside is that the scripts has to be idempotent to not reacreate already existing things.
Thanks!
The text was updated successfully, but these errors were encountered: