Changeset 1669
- Timestamp:
- Dec 16, 2006, 12:42:41 PM (17 years ago)
- Location:
- trunk/install
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/config.sql
r1652 r1669 31 31 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'); 32 32 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'); 33 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('ws_status','true','Web Service is active/inactive'); -
trunk/install/db/41-database.php
r1667 r1669 41 41 echo "Create table ".WEB_SERVICES_ACCESS_TABLE; 42 42 $query = ' 43 CREATE TABLE '.WEB_SERVICES_ACCESS_TABLE. '(43 CREATE TABLE '.WEB_SERVICES_ACCESS_TABLE." ( 44 44 id smallint(5) unsigned NOT NULL auto_increment, 45 45 name varchar(32) NOT NULL default '', … … 48 48 `end` datetime default NULL, 49 49 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', 52 52 `limit` smallint(5) unsigned default NULL, 53 53 `comment` varchar(255) default NULL, 54 54 PRIMARY KEY (id), 55 55 UNIQUE KEY name (name) 56 ) ENGINE=MyISAM COMMENT= \'Access for Web Services\';';56 ) ENGINE=MyISAM COMMENT='Access for Web Services';"; 57 57 pwg_query($query); 58 58
Note: See TracChangeset
for help on using the changeset viewer.