fix the down migration

This commit is contained in:
Karthikeyan Chinnakonda 2020-09-07 15:06:09 +05:30
parent 8e5f78b1ee
commit 830d5a4587

View File

@ -2,13 +2,13 @@ ALTER TABLE hdb_catalog.hdb_cron_triggers
DROP COLUMN created_at;
ALTER TABLE hdb_catalog.hdb_cron_events
ALTER COLUMN created_at TIMESTAMP default now();
ALTER COLUMN created_at TYPE TIMESTAMP;
ALTER TABLE hdb_catalog.hdb_cron_event_invocation_logs
ALTER COLUMN created_at TIMESTAMP default now();
ALTER COLUMN created_at TYPE TIMESTAMP;
ALTER TABLE hdb_catalog.hdb_scheduled_events
ALTER COLUMN created_at TIMESTAMP default now();
ALTER COLUMN created_at TYPE TIMESTAMP;
ALTER TABLE hdb_catalog.hdb_scheduled_event_invocation_logs
ALTER COLUMN created_at TIMESTAMP default now();
ALTER COLUMN created_at TYPE TIMESTAMP;