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

Diff of /contributions/modules/backup_migrate/backup_migrate.install

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

revision 1.1.2.2.2.1.2.10, Mon Jun 1 03:02:21 2009 UTC revision 1.1.2.2.2.1.2.11, Mon Jun 1 03:15:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: backup_migrate.install,v 1.1.2.2.2.1.2.9 2009/04/05 04:18:09 ronan Exp $  // $Id: backup_migrate.install,v 1.1.2.2.2.1.2.10 2009/06/01 03:02:21 ronan Exp $
3    
4    
5  /**  /**
# Line 147  function backup_migrate_schema() { Line 147  function backup_migrate_schema() {
147          'description' => t('The primary identifier for a destination.'),          'description' => t('The primary identifier for a destination.'),
148        ),        ),
149        'profile_id' => array(        'profile_id' => array(
150          'type' => 'int',          'type' => 'varchar',
151            'length' => 32,
152          'not null' => TRUE,          'not null' => TRUE,
153          'default' => 0,          'default' => 0,
154          'description' => t('The primary identifier for a profile.'),          'description' => t('The primary identifier for a profile.'),
# Line 285  function backup_migrate_update_2001() { Line 286  function backup_migrate_update_2001() {
286  function backup_migrate_update_2002() {  function backup_migrate_update_2002() {
287    // Cache should clear automatically. Nothing to do here.    // Cache should clear automatically. Nothing to do here.
288    return array();    return array();
289    }
290    
291    /**
292     * Allowing non-int profile ids in schedules 2009-05-31
293     */
294    function backup_migrate_update_2003() {
295      $ret = array();
296      $spec = array(
297        'type' => 'varchar',
298        'length' => 32,
299        'not null' => TRUE,
300        'default' => 0,
301        'description' => t('The primary identifier for a profile.'),
302      );
303    
304      db_change_field($ret, 'backup_migrate_schedules', 'profile_id', 'profile_id', $spec);
305      return $ret;
306  }  }

Legend:
Removed from v.1.1.2.2.2.1.2.10  
changed lines
  Added in v.1.1.2.2.2.1.2.11

  ViewVC Help
Powered by ViewVC 1.1.2