From 46ed6b2cb1ba2e9fa621d55912c952050a8468de Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 28 Feb 2014 14:41:44 +0000 Subject: [PATCH] Fix SQL syntax Fix #1558 --- awstats/awstats.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 ;