diff --git a/awstats/awstats.sql b/awstats/awstats.sql index d0960021..b4e649d8 100644 --- a/awstats/awstats.sql +++ b/awstats/awstats.sql @@ -1,13 +1,13 @@ -# -------------------------------------------------------- + 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`) -) TYPE=MyISAM COMMENT='Statistiques web par Awstats'; +) 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, @@ -16,7 +16,7 @@ CREATE TABLE IF NOT EXISTS `aws_users` ( INDEX (`uid`) ) COMMENT = 'Comptes pouvant accéder aux stats awstats.'; -# -------------------------------------------------------- + CREATE TABLE IF NOT EXISTS `aws_access` ( `id` int(10) unsigned NOT NULL, `uid` int(10) unsigned NOT NULL, @@ -24,5 +24,5 @@ CREATE TABLE IF NOT EXISTS `aws_access` ( INDEX (`id`) ) COMMENT = 'Qui peut accéder aux stats awstats '; - ALTER TABLE `aws` ADD `public` INT(1) unsigned NOT NULL DEFAULT '1'; - ALTER TABLE `aws` ADD `hostaliases` TEXT ; +ALTER TABLE `aws` ADD `public` INT(1) unsigned NOT NULL DEFAULT '1'; +ALTER TABLE `aws` ADD `hostaliases` TEXT ;