-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hasura): add database and event trigger on votepeloclima
- Loading branch information
1 parent
e4ecb60
commit aa8b995
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
migrations/metadata/databases/votepeloclima/tables/public_candidature_candidatureflow.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
table: | ||
schema: public | ||
name: candidature_candidatureflow | ||
event_triggers: | ||
- name: votepeloclima-validacao-cadastro | ||
definition: | ||
enable_manual: false | ||
update: | ||
columns: | ||
- status | ||
retry_conf: | ||
num_retries: 0 | ||
interval_sec: 10 | ||
timeout_sec: 60 | ||
webhook: '{{N8N_WEBHOOK_URL}}/votepeloclima/validacao/cadastro/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- "!include public_candidature_candidatureflow.yaml" |