2014-02-28 14:41:44 +00:00
|
|
|
|
|
2012-08-30 12:50:19 +00:00
|
|
|
|
CREATE TABLE IF NOT EXISTS `aws` (
|
|
|
|
|
`id` int(10) unsigned NOT NULL auto_increment,
|
|
|
|
|
`uid` int(10) unsigned NOT NULL default '0',
|
|
|
|
|
`hostname` varchar(255) NOT NULL default '',
|
2014-03-28 13:56:49 +00:00
|
|
|
|
`public` INT(1) unsigned NOT NULL DEFAULT '1',
|
|
|
|
|
`hostaliases` TEXT,
|
2012-08-30 12:50:19 +00:00
|
|
|
|
PRIMARY KEY (`id`)
|
2014-02-28 14:41:44 +00:00
|
|
|
|
) Engine=MyISAM COMMENT='Statistiques web par Awstats';
|
|
|
|
|
|
2012-08-30 12:50:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS `aws_users` (
|
|
|
|
|
`uid` int(10) unsigned NOT NULL,
|
|
|
|
|
`login` varchar(128) NOT NULL,
|
|
|
|
|
`pass` varchar(38) NOT NULL,
|
|
|
|
|
PRIMARY KEY (`login`),
|
|
|
|
|
INDEX (`uid`)
|
|
|
|
|
) COMMENT = 'Comptes pouvant acc<63>der aux stats awstats.';
|
|
|
|
|
|
2014-02-28 14:41:44 +00:00
|
|
|
|
|
2012-08-30 12:50:19 +00:00
|
|
|
|
CREATE TABLE IF NOT EXISTS `aws_access` (
|
|
|
|
|
`id` int(10) unsigned NOT NULL,
|
|
|
|
|
`uid` int(10) unsigned NOT NULL,
|
|
|
|
|
`login` varchar(128) NOT NULL,
|
|
|
|
|
INDEX (`id`)
|
|
|
|
|
) COMMENT = 'Qui peut acc<63>der aux stats awstats ';
|
|
|
|
|
|