Changeset 1669


Ignore:
Timestamp:
Dec 16, 2006, 12:42:41 PM (17 years ago)
Author:
vdigital
Message:

Upgrade feed correct I hope 8-)

Location:
trunk/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/config.sql

    r1652 r1669  
    3131INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment','false','Send an email to the admin when a valid comment is entered');
    3232INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment_validation','false','Send an email to the admin when a comment requires validation');
     33INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('ws_status','true','Web Service is active/inactive');
  • trunk/install/db/41-database.php

    r1667 r1669  
    4141echo "Create table ".WEB_SERVICES_ACCESS_TABLE;
    4242$query = '
    43 CREATE TABLE '.WEB_SERVICES_ACCESS_TABLE.' (
     43CREATE TABLE '.WEB_SERVICES_ACCESS_TABLE." (
    4444  id smallint(5) unsigned NOT NULL auto_increment,
    4545  name varchar(32) NOT NULL default '',
     
    4848  `end` datetime default NULL,
    4949  request varchar(255) default NULL,
    50   high enum(\'true\',\'false\') NOT NULL default \'true\',
    51   normal enum(\'true\',\'false\') NOT NULL default \'true\',
     50  high enum('true','false') NOT NULL default 'true',
     51  normal enum('true','false') NOT NULL default 'true',
    5252  `limit` smallint(5) unsigned default NULL,
    5353  `comment` varchar(255) default NULL,
    5454  PRIMARY KEY  (id),
    5555  UNIQUE KEY name (name)
    56 ) ENGINE=MyISAM COMMENT=\'Access for Web Services\';';
     56) ENGINE=MyISAM COMMENT='Access for Web Services';";
    5757pwg_query($query);
    5858
Note: See TracChangeset for help on using the changeset viewer.