You are here

function privatemsg_update_7001 in Privatemsg 7

Same name and namespace in other branches
  1. 7.2 privatemsg.install \privatemsg_update_7001()

Update format column to varchar.

File

./privatemsg.install, line 196
Install file for privatemsg.module

Code

function privatemsg_update_7001() {
  db_change_field('pm_message', 'format', 'format', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
    'description' => 'The {filter_formats}.format of the message text.',
  ));
}