You are here

function flexiform_update_7001 in Flexiform 7

File

./flexiform.install, line 177
Sets up the base table for our entity and a table to store information about the entity types.

Code

function flexiform_update_7001() {
  $spec = array(
    'description' => 'Select the type of form that is submitted. 0 for simple, 1 for complex/advanced',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field('flexiform', 'advanced', $spec);
}