summaryrefslogtreecommitdiffstats
path: root/db/old_migrations/patch-http-monitor-method-body-and-headers.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/old_migrations/patch-http-monitor-method-body-and-headers.sql')
-rw-r--r--db/old_migrations/patch-http-monitor-method-body-and-headers.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/old_migrations/patch-http-monitor-method-body-and-headers.sql b/db/old_migrations/patch-http-monitor-method-body-and-headers.sql
new file mode 100644
index 0000000..dc2526b
--- /dev/null
+++ b/db/old_migrations/patch-http-monitor-method-body-and-headers.sql
@@ -0,0 +1,13 @@
+-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
+BEGIN TRANSACTION;
+
+ALTER TABLE monitor
+ ADD method TEXT default 'GET' not null;
+
+ALTER TABLE monitor
+ ADD body TEXT default null;
+
+ALTER TABLE monitor
+ ADD headers TEXT default null;
+
+COMMIT;