diff --git a/server/src-rsr/initialise.sql b/server/src-rsr/initialise.sql index 716e785c76b..0982d6a7cd2 100644 --- a/server/src-rsr/initialise.sql +++ b/server/src-rsr/initialise.sql @@ -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 diff --git a/server/src-rsr/migrations/37_to_38.sql b/server/src-rsr/migrations/37_to_38.sql index 968dfae5985..0f2da04db08 100644 --- a/server/src-rsr/migrations/37_to_38.sql +++ b/server/src-rsr/migrations/37_to_38.sql @@ -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; diff --git a/server/src-rsr/migrations/38_to_37.sql b/server/src-rsr/migrations/38_to_37.sql index 9c437a5eccd..d99302ba6c9 100644 --- a/server/src-rsr/migrations/38_to_37.sql +++ b/server/src-rsr/migrations/38_to_37.sql @@ -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;