diff options
Diffstat (limited to 'db/old_migrations/patch-add-parent-monitor.sql')
-rw-r--r-- | db/old_migrations/patch-add-parent-monitor.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/old_migrations/patch-add-parent-monitor.sql b/db/old_migrations/patch-add-parent-monitor.sql new file mode 100644 index 0000000..ac2697f --- /dev/null +++ b/db/old_migrations/patch-add-parent-monitor.sql @@ -0,0 +1,7 @@ +-- You should not modify if this have pushed to Github, unless it does serious wrong with the db. +BEGIN TRANSACTION; + +ALTER TABLE monitor + ADD parent INTEGER REFERENCES [monitor] ([id]) ON DELETE SET NULL ON UPDATE CASCADE; + +COMMIT; |