You are here

function bueditor_update_6201 in BUEditor 6.2

Add sprite support

File

./bueditor.install, line 236
Installs, updates, and uninstalls BUEditor.

Code

function bueditor_update_6201() {
  $ret = array();
  $spriteon = array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  );
  $spritename = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  );
  db_add_field($ret, 'bueditor_editors', 'spriteon', $spriteon);
  db_add_field($ret, 'bueditor_editors', 'spritename', $spritename);
  return $ret;
}