summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--migrations/2020-02-04-140143_raw_data_not_null/down.sql2
-rw-r--r--migrations/2020-02-04-140143_raw_data_not_null/up.sql2
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;