Lines 2126-2132
CREATE TABLE language_script_mapping (
Link Here
|
2126 |
DROP TABLE IF EXISTS `permissions`; |
2126 |
DROP TABLE IF EXISTS `permissions`; |
2127 |
CREATE TABLE `permissions` ( |
2127 |
CREATE TABLE `permissions` ( |
2128 |
`module_bit` int(11) NOT NULL DEFAULT 0, |
2128 |
`module_bit` int(11) NOT NULL DEFAULT 0, |
2129 |
`code` varchar(30) DEFAULT NULL, |
2129 |
`code` varchar(64) NOT NULL DEFAULT '', |
2130 |
`description` varchar(255) DEFAULT NULL, |
2130 |
`description` varchar(255) DEFAULT NULL, |
2131 |
PRIMARY KEY (`module_bit`, `code`), |
2131 |
PRIMARY KEY (`module_bit`, `code`), |
2132 |
CONSTRAINT `permissions_ibfk_1` FOREIGN KEY (`module_bit`) REFERENCES `userflags` (`bit`) |
2132 |
CONSTRAINT `permissions_ibfk_1` FOREIGN KEY (`module_bit`) REFERENCES `userflags` (`bit`) |
2133 |
- |
|
|