parent
399d1fd427
commit
46ed6b2cb1
|
@ -1,13 +1,13 @@
|
||||||
# --------------------------------------------------------
|
|
||||||
CREATE TABLE IF NOT EXISTS `aws` (
|
CREATE TABLE IF NOT EXISTS `aws` (
|
||||||
`id` int(10) unsigned NOT NULL auto_increment,
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
`uid` int(10) unsigned NOT NULL default '0',
|
`uid` int(10) unsigned NOT NULL default '0',
|
||||||
`hostname` varchar(255) NOT NULL default '',
|
`hostname` varchar(255) NOT NULL default '',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) TYPE=MyISAM COMMENT='Statistiques web par Awstats';
|
) Engine=MyISAM COMMENT='Statistiques web par Awstats';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
|
||||||
CREATE TABLE IF NOT EXISTS `aws_users` (
|
CREATE TABLE IF NOT EXISTS `aws_users` (
|
||||||
`uid` int(10) unsigned NOT NULL,
|
`uid` int(10) unsigned NOT NULL,
|
||||||
`login` varchar(128) NOT NULL,
|
`login` varchar(128) NOT NULL,
|
||||||
|
@ -16,7 +16,7 @@ CREATE TABLE IF NOT EXISTS `aws_users` (
|
||||||
INDEX (`uid`)
|
INDEX (`uid`)
|
||||||
) COMMENT = 'Comptes pouvant accéder aux stats awstats.';
|
) COMMENT = 'Comptes pouvant accéder aux stats awstats.';
|
||||||
|
|
||||||
# --------------------------------------------------------
|
|
||||||
CREATE TABLE IF NOT EXISTS `aws_access` (
|
CREATE TABLE IF NOT EXISTS `aws_access` (
|
||||||
`id` int(10) unsigned NOT NULL,
|
`id` int(10) unsigned NOT NULL,
|
||||||
`uid` int(10) unsigned NOT NULL,
|
`uid` int(10) unsigned NOT NULL,
|
||||||
|
@ -24,5 +24,5 @@ CREATE TABLE IF NOT EXISTS `aws_access` (
|
||||||
INDEX (`id`)
|
INDEX (`id`)
|
||||||
) COMMENT = 'Qui peut accéder aux stats awstats ';
|
) COMMENT = 'Qui peut accéder aux stats awstats ';
|
||||||
|
|
||||||
ALTER TABLE `aws` ADD `public` INT(1) unsigned NOT NULL DEFAULT '1';
|
ALTER TABLE `aws` ADD `public` INT(1) unsigned NOT NULL DEFAULT '1';
|
||||||
ALTER TABLE `aws` ADD `hostaliases` TEXT ;
|
ALTER TABLE `aws` ADD `hostaliases` TEXT ;
|
||||||
|
|
Loading…
Reference in New Issue