function user_relationships_update_7003 in User Relationships 7
Change column names from created_at and updated_at to created and changed.
File
- ./
user_relationships.install, line 140 - User Relationships API Module installation file.
Code
function user_relationships_update_7003() {
db_change_field('user_relationships', 'created_at', 'created', array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
db_change_field('user_relationships', 'updated_at', 'changed', array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
}