mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-21 06:21:39 +03:00
cc8e2ccc78
server: add scheduled triggers Co-authored-by: Alexis King <lexi.lambda@gmail.com> Co-authored-by: Marion Schleifer <marion@hasura.io> Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io> Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
19 lines
742 B
SQL
19 lines
742 B
SQL
DROP TABLE hdb_catalog.hdb_scheduled_event_invocation_logs;
|
|
DROP TABLE hdb_catalog.hdb_scheduled_events;
|
|
DROP VIEW hdb_catalog.hdb_cron_events_stats;
|
|
DROP TABLE hdb_catalog.hdb_cron_event_invocation_logs;
|
|
DROP TABLE hdb_catalog.hdb_cron_events;
|
|
DROP TABLE hdb_catalog.hdb_cron_triggers;
|
|
|
|
DELETE FROM hdb_catalog.hdb_relationship
|
|
where table_schema = 'hdb_catalog' and
|
|
table_name in
|
|
('hdb_scheduled_event_invocation_logs','hdb_scheduled_events','hdb_cron_event_invocation_logs','hdb_cron_events'
|
|
,'hdb_cron_triggers');
|
|
|
|
DELETE FROM hdb_catalog.hdb_table
|
|
where table_schema = 'hdb_catalog' and
|
|
table_name in
|
|
('hdb_scheduled_event_invocation_logs','hdb_scheduled_events','hdb_cron_event_invocation_logs','hdb_cron_events'
|
|
,'hdb_cron_triggers');
|