0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-27 17:06:25 +01:00
uptime-kuma/db/patch-add-parent-monitor.sql

7 lines
137 B
SQL

BEGIN TRANSACTION;
ALTER TABLE monitor
ADD parent INTEGER REFERENCES [monitor] ([id]) ON DELETE SET NULL ON UPDATE CASCADE;
COMMIT