mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-04 16:03:06 +00:00
3c8e4b43fd
* fix: resolve a script path to its new version as soon as the lock lands Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011H5ygpzQHkPeYsjiP9GzBy * fix: tell MCP script deploy callers to stop polling on a lock error Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011H5ygpzQHkPeYsjiP9GzBy --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
8 lines
217 B
SQL
8 lines
217 B
SQL
DROP TRIGGER IF EXISTS script_insert_trigger ON script;
|
|
|
|
CREATE TRIGGER script_insert_trigger
|
|
AFTER INSERT ON script
|
|
FOR EACH ROW
|
|
WHEN (NEW.lock IS NOT NULL)
|
|
EXECUTE FUNCTION notify_runnable_version_change('script');
|