AlternC/awstats/awstats.sql

29 lines
816 B
MySQL
Raw Normal View History

2014-02-28 14:41:44 +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 '',
PRIMARY KEY (`id`)
2014-02-28 14:41:44 +00:00
) Engine=MyISAM COMMENT='Statistiques web par Awstats';
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
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 ';
2014-02-28 14:41:44 +00:00
ALTER TABLE `aws` ADD `public` INT(1) unsigned NOT NULL DEFAULT '1';
ALTER TABLE `aws` ADD `hostaliases` TEXT ;