You are here

function wysiwyg_template_update_7201 in Wysiwyg API template plugin 7.2

Add the fid table field

File

./wysiwyg_template.install, line 163

Code

function wysiwyg_template_update_7201() {

  // Create name field and populate it.
  db_add_field('wysiwyg_templates', 'fid', array(
    'description' => 'The {file_managed}.fid of the image.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
}