| 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 |
/** |
/** |
| 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.'), |
| 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 |
} |
} |