You are here

function wysiwyg_update_7000 in Wysiwyg 7.2

Change {wysiwyg}.format into a string.

File

./wysiwyg.install, line 146
Installation functions for Wysiwyg module.

Code

function wysiwyg_update_7000() {
  db_drop_primary_key('wysiwyg');
  db_change_field('wysiwyg', 'format', 'format', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
  ));
  db_add_primary_key('wysiwyg', array(
    'format',
  ));
}