/[drupal]/contributions/modules/aggregator2/aggregator2.install
ViewVC logotype

Diff of /contributions/modules/aggregator2/aggregator2.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Tue Jul 18 18:23:42 2006 UTC revision 1.4, Thu Jul 20 11:39:11 2006 UTC
# Line 67  function aggregator2_update_1() { Line 67  function aggregator2_update_1() {
67    switch ($GLOBALS['db_type']) {    switch ($GLOBALS['db_type']) {
68      case 'mysqli':      case 'mysqli':
69      case 'mysql':      case 'mysql':
70          $items[] = update_sql("UPDATE `node` SET `type` = 'aggregator2_item' WHERE `type` = 'aggregator2-item'");
71          $items[] = update_sql("UPDATE `node` SET `type` = 'aggregator2_feed' WHERE `type` = 'aggregator2-feed'");
72        $items[] = update_sql("ALTER TABLE {aggregator2_item} ADD source_xml varchar(255) NOT NULL default ''");        $items[] = update_sql("ALTER TABLE {aggregator2_item} ADD source_xml varchar(255) NOT NULL default ''");
73        break;        break;
74    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2