You are here

function autoassignrole_update_7105 in Auto Assign Role 7

Same name and namespace in other branches
  1. 7.2 autoassignrole.install \autoassignrole_update_7105()

Change the rids column from varchar to text.

File

./autoassignrole.install, line 264
Installation related functionality for the auto assign role module.

Code

function autoassignrole_update_7105() {
  db_change_field('autoassignrole_page', 'rids', 'rids', array(
    'type' => 'text',
    'not null' => TRUE,
  ));
  drupal_flush_all_caches();
}