You are here

function delta_update_7303 in Delta 7.3

Add a parent field to the Delta database table.

File

./delta.install, line 185
Contains install, update, and uninstall functions for Skinr.

Code

function delta_update_7303(&$sandbox) {
  db_add_field('delta', 'parent', array(
    'description' => 'The system name of the parent of this theme settings template.',
    'type' => 'varchar',
    'length' => 32,
    'not null' => TRUE,
    'initial' => '',
  ));
  return t("Successfully added a parent field to the Delta database table.");
}