Upgrade feed correct I hope 8-)

git-svn-id: http://piwigo.org/svn/trunk@1669 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2006-12-16 11:42:41 +00:00
commit 3d32716fc5
2 changed files with 6 additions and 5 deletions

View file

@ -30,3 +30,4 @@ INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nbm_complementar
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_new_user','false','Send an email to the admin when a user registers');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment','false','Send an email to the admin when a valid comment is entered');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment_validation','false','Send an email to the admin when a comment requires validation');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('ws_status','true','Web Service is active/inactive');

View file

@ -40,20 +40,20 @@ include_once(PHPWG_ROOT_PATH.'include/constants.php');
echo "Create table ".WEB_SERVICES_ACCESS_TABLE;
$query = '
CREATE TABLE '.WEB_SERVICES_ACCESS_TABLE.' (
CREATE TABLE '.WEB_SERVICES_ACCESS_TABLE." (
id smallint(5) unsigned NOT NULL auto_increment,
name varchar(32) NOT NULL default '',
access varchar(255) default NULL,
`start` datetime default NULL,
`end` datetime default NULL,
request varchar(255) default NULL,
high enum(\'true\',\'false\') NOT NULL default \'true\',
normal enum(\'true\',\'false\') NOT NULL default \'true\',
high enum('true','false') NOT NULL default 'true',
normal enum('true','false') NOT NULL default 'true',
`limit` smallint(5) unsigned default NULL,
`comment` varchar(255) default NULL,
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM COMMENT=\'Access for Web Services\';';
) ENGINE=MyISAM COMMENT='Access for Web Services';";
pwg_query($query);
echo