From 9ec626a78a86043965f3a380a539473ab182249e Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 17 Jul 2022 11:29:15 +0200 Subject: [PATCH] Add created_at column to et_runtime_data --- .../20220717092404_add_created_at_to_runtime_data.down.sql | 1 + .../20220717092404_add_created_at_to_runtime_data.up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.down.sql create mode 100644 gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.up.sql diff --git a/gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.down.sql b/gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.down.sql new file mode 100644 index 0000000..a8185bc --- /dev/null +++ b/gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.down.sql @@ -0,0 +1 @@ +ALTER TABLE et_runtime_data DROP COLUMN created_at; diff --git a/gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.up.sql b/gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.up.sql new file mode 100644 index 0000000..7413587 --- /dev/null +++ b/gateway/sql/migrations/20220717092404_add_created_at_to_runtime_data.up.sql @@ -0,0 +1 @@ +ALTER TABLE et_runtime_data ADD COLUMN created_at TIMESTAMP WITHOUT TIME ZONE;