From dcf03c69721022a1f87ea1a824becac6e75caca1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 5 Sep 2015 19:21:35 +1200 Subject: Remove unnecessary delete cascade --- debug.xml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'debug.xml') diff --git a/debug.xml b/debug.xml index ecbfe6857..4209b828e 100644 --- a/debug.xml +++ b/debug.xml @@ -114,12 +114,6 @@ other VARCHAR(4096) NOT NULL, FOREIGN KEY (deviceId) REFERENCES device (id) ON DELETE CASCADE); - ALTER TABLE device ADD - FOREIGN KEY (positionId) REFERENCES position (id) ON DELETE CASCADE; - - ALTER TABLE device ADD - FOREIGN KEY (dataId) REFERENCES data (id) ON DELETE CASCADE; - CREATE TABLE server ( id INT PRIMARY KEY AUTO_INCREMENT, registration BIT NOT NULL, -- cgit v1.2.3