uptime-kuma/db/old_migrations/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