mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
remove the created_at
column from hdb_cron_triggers table
This commit is contained in:
parent
6f1bfee21b
commit
15e660a143
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user