We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e0922 commit 2ed2e8bCopy full SHA for 2ed2e8b
sql/MySQL_Nav_Tables.sql
@@ -1,3 +1,9 @@
1
+/*
2
+* SQL File to create tables for CodeIgniter Navigation Library
3
+* Author: Daniel Waghorn
4
+* Format: MySQL;
5
+*/
6
+
7
SET NAMES utf8;
8
SET FOREIGN_KEY_CHECKS = 0;
9
@@ -26,7 +32,7 @@ CREATE TABLE `CI-Nav-Items` (
26
32
`ParentItem` int(255) DEFAULT NULL,
27
33
PRIMARY KEY (`ItemID`),
28
34
KEY `fkParentMenu` (`ParentItem`),
29
- CONSTRAINT `ParentRef` FOREIGN KEY (`ParentItem`) REFERENCES `CI-Nav-Items` (`ItemID`) ON DELETE CASCADE ON UPDATE CASCADE,
35
+ CONSTRAINT `ParentRef` FOREIGN KEY (`ParentItem`) REFERENCES `CI-Nav-Items` (`ItemID`) ON DELETE CASCADE ON UPDATE CASCADE
30
36
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
31
37
38
-- ----------------------------
0 commit comments