From 2a248ad73f04454a6cc2a15bcd38f0e4232f2444 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 17 Apr 2022 19:56:47 +0800 Subject: [PATCH] Change mqtt_topic from VARCHAR to TEXT --- db/patch-added-mqtt-monitor.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/patch-added-mqtt-monitor.sql b/db/patch-added-mqtt-monitor.sql index b6cc6c576..02b0b09d9 100644 --- a/db/patch-added-mqtt-monitor.sql +++ b/db/patch-added-mqtt-monitor.sql @@ -2,7 +2,7 @@ BEGIN TRANSACTION; ALTER TABLE monitor - ADD mqtt_topic VARCHAR(50); + ADD mqtt_topic TEXT; ALTER TABLE monitor ADD mqtt_success_message VARCHAR(255);