diff options
Diffstat (limited to 'db/old_migrations/patch-added-mqtt-monitor.sql')
-rw-r--r-- | db/old_migrations/patch-added-mqtt-monitor.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/old_migrations/patch-added-mqtt-monitor.sql b/db/old_migrations/patch-added-mqtt-monitor.sql new file mode 100644 index 0000000..02b0b09 --- /dev/null +++ b/db/old_migrations/patch-added-mqtt-monitor.sql @@ -0,0 +1,16 @@ +-- You should not modify if this have pushed to Github, unless it does serious wrong with the db. +BEGIN TRANSACTION; + +ALTER TABLE monitor + ADD mqtt_topic TEXT; + +ALTER TABLE monitor + ADD mqtt_success_message VARCHAR(255); + +ALTER TABLE monitor + ADD mqtt_username VARCHAR(255); + +ALTER TABLE monitor + ADD mqtt_password VARCHAR(255); + +COMMIT; |