From fa919608641021561c620897f7aed9789d4790b5 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 4 Feb 2020 09:03:20 -0500 Subject: Require json payload with raw data --- migrations/2020-02-04-140143_raw_data_not_null/down.sql | 2 ++ migrations/2020-02-04-140143_raw_data_not_null/up.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 migrations/2020-02-04-140143_raw_data_not_null/down.sql create mode 100644 migrations/2020-02-04-140143_raw_data_not_null/up.sql diff --git a/migrations/2020-02-04-140143_raw_data_not_null/down.sql b/migrations/2020-02-04-140143_raw_data_not_null/down.sql new file mode 100644 index 0000000..724a686 --- /dev/null +++ b/migrations/2020-02-04-140143_raw_data_not_null/down.sql @@ -0,0 +1,2 @@ +alter table raw_data + alter payload drop not null; diff --git a/migrations/2020-02-04-140143_raw_data_not_null/up.sql b/migrations/2020-02-04-140143_raw_data_not_null/up.sql new file mode 100644 index 0000000..5a8581a --- /dev/null +++ b/migrations/2020-02-04-140143_raw_data_not_null/up.sql @@ -0,0 +1,2 @@ +alter table raw_data + alter payload set not null; -- cgit v1.2.3