Lines 4428-4447
DROP TABLE IF EXISTS `cms_pages`;
Link Here
|
4428 |
CREATE TABLE `cms_pages` ( |
4428 |
CREATE TABLE `cms_pages` ( |
4429 |
`id` int(6) NOT NULL AUTO_INCREMENT, |
4429 |
`id` int(6) NOT NULL AUTO_INCREMENT, |
4430 |
`parent` int(6) DEFAULT NULL, |
4430 |
`parent` int(6) DEFAULT NULL, |
4431 |
`branchcode` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, |
4431 |
`branchcode` varchar(10) DEFAULT NULL, |
4432 |
`lang` varchar(25) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', |
4432 |
`lang` varchar(25) NOT NULL DEFAULT '', |
4433 |
`title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, |
4433 |
`title` varchar(255) DEFAULT NULL, |
4434 |
`title_link` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, |
4434 |
`title_link` varchar(64) DEFAULT NULL, |
4435 |
`sortorder` int(3) NOT NULL DEFAULT 0, |
4435 |
`sortorder` int(3) NOT NULL DEFAULT 0, |
4436 |
`location` tinyint(1) DEFAULT NULL, |
4436 |
`location` tinyint(1) DEFAULT NULL, |
4437 |
`publish` tinyint(1) NOT NULL DEFAULT 0, |
4437 |
`publish` tinyint(1) NOT NULL DEFAULT 0, |
4438 |
`content` text COLLATE utf8_unicode_ci, |
4438 |
`content` text, |
4439 |
PRIMARY KEY (`id`), |
4439 |
PRIMARY KEY (`id`), |
4440 |
INDEX `parent_index` (`parent`), |
4440 |
INDEX `parent_index` (`parent`), |
4441 |
INDEX `lang_index` (`lang`), |
4441 |
INDEX `lang_index` (`lang`), |
4442 |
INDEX `branchcode_index` (`branchcode`), |
4442 |
INDEX `branchcode_index` (`branchcode`), |
4443 |
CONSTRAINT `pages_branchcode_ibfk` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE |
4443 |
CONSTRAINT `pages_branchcode_ibfk` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE |
4444 |
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8mb4_unicode_ci; |
4444 |
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
4445 |
|
4445 |
|
4446 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
4446 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
4447 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
4447 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
4448 |
- |
|
|