2019-05-13 12:41:07 +03:00
|
|
|
type: bulk
|
|
|
|
args:
|
2021-01-06 19:06:24 +03:00
|
|
|
|
2019-05-13 12:41:07 +03:00
|
|
|
- type: run_sql
|
|
|
|
args:
|
|
|
|
sql: |
|
|
|
|
create table hge_tests.test_t1(
|
|
|
|
c1 int,
|
|
|
|
c2 text
|
|
|
|
);
|
2021-01-06 19:06:24 +03:00
|
|
|
|
2019-05-13 12:41:07 +03:00
|
|
|
- type: track_table
|
|
|
|
args:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
- type: create_event_trigger
|
|
|
|
args:
|
|
|
|
name: t1_enabled
|
|
|
|
table:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
insert:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2019-05-13 12:41:07 +03:00
|
|
|
update:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2019-05-13 12:41:07 +03:00
|
|
|
delete:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2019-05-13 12:41:07 +03:00
|
|
|
enable_manual: true
|
2022-08-03 23:04:32 +03:00
|
|
|
webhook: "{{EVENT_WEBHOOK_HANDLER}}"
|
2019-05-13 12:41:07 +03:00
|
|
|
- type: create_event_trigger
|
|
|
|
args:
|
|
|
|
name: t1_disabled
|
|
|
|
table:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
insert:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2019-05-13 12:41:07 +03:00
|
|
|
update:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2019-05-13 12:41:07 +03:00
|
|
|
delete:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2019-05-13 12:41:07 +03:00
|
|
|
enable_manual: false
|
2022-08-03 23:04:32 +03:00
|
|
|
webhook: "{{EVENT_WEBHOOK_HANDLER}}"
|