graphql-engine/server/tests-py/queries/event_triggers/update_query/create-setup.yaml
2018-09-19 17:42:57 +05:30

28 lines
475 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
create table hge_tests.test_t1(
c1 int,
c2 text
);
- type: track_table
args:
schema: hge_tests
name: test_t1
- type: create_event_trigger
args:
name: t1_cols
table:
schema: hge_tests
name: test_t1
insert:
columns: ["c2"]
update:
columns: ["c1"]
webhook: http://127.0.0.1:5592
retry_conf:
num_retries: 5
interval_sec: 5