mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 00:24:07 +08:00
Move all old db patch files to db/old_migrations/
This commit is contained in:
16
db/old_migrations/patch-added-mqtt-monitor.sql
Normal file
16
db/old_migrations/patch-added-mqtt-monitor.sql
Normal file
@@ -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;
|
Reference in New Issue
Block a user