Projet

Général

Profil

Révision 76e2e7c3

Ajouté par Assos Assos il y a environ 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/rules/rules_scheduler/rules_scheduler.install
144 144
 * Rename rules_scheduler.state into rules_scheduler.data.
145 145
 */
146 146
function rules_scheduler_update_7204() {
147
  db_change_field('rules_scheduler', 'state', 'data', array(
148
    'type' => 'text',
149
    'not null' => FALSE,
150
    'serialize' => TRUE,
151
    'description' => 'The whole, serialized evaluation data.',
152
  ));
147
  if (db_field_exists('rules_scheduler', 'state')) {
148
    db_change_field('rules_scheduler', 'state', 'data', array(
149
      'type' => 'text',
150
      'not null' => FALSE,
151
      'serialize' => TRUE,
152
      'description' => 'The whole, serialized evaluation data.',
153
    ));
154
  }
153 155
}
154 156

  
155 157
/**

Formats disponibles : Unified diff