You are here

function user_relationships_update_7002 in User Relationships 7

Change {user_relationships}.rid from type serial to int.

File

./user_relationships.install, line 133
User Relationships API Module installation file.

Code

function user_relationships_update_7002() {
  db_change_field('user_relationships', 'rid', 'rid', array(
    'type' => 'int',
    'not null' => TRUE,
  ));
}