2020-10-30 21:55:53 +03:00
|
|
|
description: create an event trigger and then reset metadata
|
|
|
|
url: /v1/query
|
|
|
|
status: 200
|
|
|
|
query:
|
|
|
|
type: bulk
|
|
|
|
args:
|
|
|
|
- type: track_table
|
2018-12-19 09:34:27 +03:00
|
|
|
args:
|
2020-10-30 21:55:53 +03:00
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
- type: create_event_trigger
|
|
|
|
args: &def_args
|
|
|
|
name: t1_1
|
|
|
|
table:
|
2018-12-19 09:34:27 +03:00
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
2020-10-30 21:55:53 +03:00
|
|
|
insert:
|
|
|
|
columns: "*"
|
|
|
|
update:
|
|
|
|
columns: "*"
|
|
|
|
delete:
|
|
|
|
columns: "*"
|
|
|
|
webhook: http://127.0.0.1:5592
|
2018-12-19 09:34:27 +03:00
|
|
|
|
2020-10-30 21:55:53 +03:00
|
|
|
- type: clear_metadata
|
|
|
|
args: {}
|