You are here

function backup_migrate_update_2003 in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.install \backup_migrate_update_2003()
  2. 8.3 backup_migrate.install \backup_migrate_update_2003()
  3. 6.3 backup_migrate.install \backup_migrate_update_2003()
  4. 6.2 backup_migrate.install \backup_migrate_update_2003()
  5. 7.2 backup_migrate.install \backup_migrate_update_2003()

Allowing non-int profile ids in schedules 2009-05-31.

File

./backup_migrate.install, line 534
Install hooks for Backup and Migrate.

Code

function backup_migrate_update_2003() {
  $ret = array();
  $spec = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '0',
    'description' => 'The primary identifier for a profile.',
  );
  db_change_field('backup_migrate_schedules', 'profile_id', 'profile_id', $spec);
  return $ret;
}