-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.bak
62 lines (54 loc) · 2.23 KB
/
install.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
-- --------------------------------------------------------
--
-- Table structure for table `#__phocaguestbook_items`
--
DROP TABLE IF EXISTS `#__phocaguestbook_items`;
CREATE TABLE `#__phocaguestbook_items` (
`id` int(11) unsigned NOT NULL auto_increment,
`catid` int(11) NOT NULL default '0',
`sid` int(11) NOT NULL default '0',
`username` varchar(100) NOT NULL default '',
`userid` int(11) NOT NULL default '0',
`email` varchar(50) NOT NULL default '',
`homesite` varchar(50) NOT NULL default '',
`ip` varchar(20) NOT NULL default '',
`title` varchar(200) NOT NULL default '',
`content` text NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`published` tinyint(1) NOT NULL default '0',
`checked_out` int(11) NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
`ordering` int(11) NOT NULL default '0',
`params` text NOT NULL,
PRIMARY KEY (`id`),
KEY `published` (`published`)
) TYPE=MyISAM CHARACTER SET `utf8`;
-- --------------------------------------------------------
--
-- Table structure for table `#__phocaguestbook_books`
--
DROP TABLE IF EXISTS `#__phocaguestbook_books`;
CREATE TABLE `#__phocaguestbook_books` (
`id` int(11) NOT NULL auto_increment,
`parent_id` int(11) NOT NULL default 0,
`title` varchar(255) NOT NULL default '',
`name` varchar(255) NOT NULL default '',
`alias` varchar(255) NOT NULL default '',
`image` varchar(255) NOT NULL default '',
`section` varchar(50) NOT NULL default '',
`image_position` varchar(30) NOT NULL default '',
`description` text NOT NULL,
`published` tinyint(1) NOT NULL default '0',
`checked_out` int(11) unsigned NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
`editor` varchar(50) default NULL,
`ordering` int(11) NOT NULL default '0',
`access` tinyint(3) unsigned NOT NULL default '0',
`count` int(11) NOT NULL default '0',
`params` text NOT NULL,
PRIMARY KEY (`id`),
KEY `cat_idx` (`section`,`published`,`access`),
KEY `idx_access` (`access`),
KEY `idx_checkout` (`checked_out`)
) TYPE=MyISAM CHARACTER SET `utf8`;
-- --------------------------------------------------------