Changeset 1501 in ExiteCMS


Ignore:
Timestamp:
07/02/08 08:35:07 (4 years ago)
Author:
hverton
Message:

fixed missing new table definition in rev01492.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/upgrade/rev01492.php

    r1498 r1501  
    2929$commands = array(); 
    3030 
    31 // add the new admin module "Reporting" 
     31// add the new admin module "Searches" 
    3232$commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S', 'searches.gif', '260', 'searches.php', 3)"); 
     33 
     34// add the new "Searches" table 
     35$commands[] = array('type' => 'db', 'value' => "CREATE TABLE ##PREFIX##searches ( 
     36  search_id smallint(5) unsigned NOT NULL auto_increment, 
     37  search_mod_id smallint(5) unsigned NOT NULL default 0, 
     38  search_name varchar(100) NOT NULL default '', 
     39  search_title varchar(100) NOT NULL default '', 
     40  search_version varchar(10) NOT NULL default 0, 
     41  search_active tinyint(1) unsigned NOT NULL default 0, 
     42  search_visibility tinyint(3) NOT NULL default 0, 
     43  PRIMARY KEY  (search_id) 
     44) ENGINE=MyISAM"); 
     45 
    3346 
    3447/*---------------------------------------------------+ 
Note: See TracChangeset for help on using the changeset viewer.