remove the created_at column from hdb_cron_triggers table

This commit is contained in:
Karthikeyan Chinnakonda 2020-09-08 12:17:26 +05:30
parent 6f1bfee21b
commit 15e660a143
3 changed files with 1 additions and 8 deletions

View File

@ -747,8 +747,7 @@ CREATE TABLE hdb_catalog.hdb_cron_triggers
retry_conf JSON,
header_conf JSON,
include_in_metadata BOOLEAN NOT NULL DEFAULT FALSE,
comment TEXT,
created_at TIMESTAMPTZ DEFAULT NOW()
comment TEXT
);
CREATE TABLE hdb_catalog.hdb_cron_events

View File

@ -1,6 +1,3 @@
ALTER TABLE hdb_catalog.hdb_cron_triggers
ADD COLUMN created_at TIMESTAMPTZ default now();
ALTER TABLE hdb_catalog.hdb_cron_events
ALTER COLUMN created_at TYPE TIMESTAMPTZ;

View File

@ -1,6 +1,3 @@
ALTER TABLE hdb_catalog.hdb_cron_triggers
DROP COLUMN created_at;
ALTER TABLE hdb_catalog.hdb_cron_events
ALTER COLUMN created_at TYPE TIMESTAMP;