diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-02-04 09:03:20 -0500 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-02-04 09:03:20 -0500 |
commit | fa919608641021561c620897f7aed9789d4790b5 (patch) | |
tree | 4ddb450ab618c0a65014e4dc82a660a4ddc506eb | |
parent | c2a8802fac7dcff559200c38e177c423af7e0a3c (diff) |
Require json payload with raw data
-rw-r--r-- | migrations/2020-02-04-140143_raw_data_not_null/down.sql | 2 | ||||
-rw-r--r-- | migrations/2020-02-04-140143_raw_data_not_null/up.sql | 2 |
2 files changed, 4 insertions, 0 deletions
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; |