source:
extensions/linked_pages/include/install.inc.php
@
17882
Last change on this file since 17882 was 17882, checked in by , 12 years ago | |
---|---|
File size: 427 bytes |
Line | |
---|---|
1 | <?php |
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
3 | |
4 | function linked_pages_install() |
5 | { |
6 | global $prefixeTable; |
7 | |
8 | pwg_query(' |
9 | CREATE TABLE IF NOT EXISTS `'.$prefixeTable.'linked_pages` ( |
10 | `page_id` smallint(5) unsigned NOT NULL, |
11 | `category_id` smallint(5) unsigned NOT NULL, |
12 | `pos` smallint(5) unsigned NOT NULL, |
13 | UNIQUE KEY `UNIQUE`(`page_id`,`category_id`) |
14 | ) DEFAULT CHARSET=utf8 |
15 | ;'); |
16 | } |
17 | |
18 | ?> |
Note: See TracBrowser
for help on using the repository browser.