Changeset 364

Show
Ignore:
Timestamp:
05/24/06 00:25:40 (3 years ago)
Author:
sven
Message:

purge useless data introduced by watchlist bug
bring initial install SQL up to date

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/db/mysql.php

    r363 r364  
    298298    } 
    299299 
     300    if ($oldversion < 2006052400) { 
     301        // purge owner=0 watchlist entries from watchlist-on-comment bug 
     302        delete_records('weblog_watchlist','owner',0); 
     303    } 
    300304    return $result;  
    301305} 
  • devel/lib/db/mysql.sql

    r360 r364  
    215215  `ident` int(11) NOT NULL auto_increment, 
    216216  `tag` varchar(128) NOT NULL default '', 
    217   `tagtype` varchar(128) NOT NULL default '', 
     217  `tagtype` varchar(20) NOT NULL default '', 
    218218  `ref` int(11) NOT NULL default '0', 
    219219  `access` varchar(20) NOT NULL default 'PUBLIC', 
     
    224224  FULLTEXT KEY `tag` (`tag`), 
    225225  KEY `tagliteral` (`tag`(20)), 
    226   KEY `access` (`access`(20)
     226  KEY `access` (`access`
    227227) TYPE=MyISAM; 
    228228 
  • devel/version.php

    r363 r364  
    77// whether upgrades should be performed (see lib/db/*.php) 
    88 
    9    $version = 2006052300;  // YYYYMMDD   = Elgg Date 
     9   $version = 2006052400;  // YYYYMMDD   = Elgg Date 
    1010                           //         X  = Elgg Point release (0,1,2...) 
    1111                           //          Y = Interim incrementer