-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.inc.php
51 lines (40 loc) · 1.13 KB
/
install.inc.php
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
<?php
/**
* Version
*
* @author
*
* @package redaxo4
* @version svn:$Id$
*/
$REX['ADDON']['install']['xovi'] = 1;
$create_sql = rex_sql::factory();
$sql = "CREATE TABLE IF NOT EXISTS `rex_xovi` (
`id` int(10) unsigned NOT NULL auto_increment,
`domain` varchar(255) default NULL,
`api_token` varchar(255) default NULL,
`search_engines` text default NULL,
`chart_num_weeks` int(11) default 0,
`results` int(11) default 0,
`getkeywords` text default NULL,
`getkeywords_created` int(11) default 0,
`getovitrend` text default NULL,
`getovitrend_created` int(11) default 0,
`getbacklinks` text default NULL,
`getbacklinks_created` int(11) default 0,
`getreportings` text default NULL,
`getreportings_created` int(11) default 0,
PRIMARY KEY (`id`)
) ENGINE=MyISAM ;
";
$create_sql->setQuery($sql);
$create_sql = rex_sql::factory();
$sql = "CREATE TABLE IF NOT EXISTS `rex_xovi_keywordtrend` (
`id` int(10) unsigned NOT NULL auto_increment,
`getkeyword` text default NULL,
`getkeywordtrend` int(11) default 0,
`created` int(11) default 0,
PRIMARY KEY (`id`)
) ENGINE=MyISAM ;
";
$create_sql->setQuery($sql);