'Stores format settings for the body field of all node types.', 'fields' => array( 'type' => array( 'description' => 'The node type - machine-readable name, primary key of {node_type}.', 'type' => 'varchar', 'length' => 32, 'not null' => TRUE, ), 'format' => array( 'description' => 'The Format ID - primary key of the {filter_formats} table.', 'type' => 'int', 'not null' => TRUE, 'default' => 0, ), 'override' => array( 'description' => 'Access override for this format. 0 = default, 1 = allow, 2 = deny.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny', ), ), 'primary key' => array('type' , 'format'), ); return $schema; } /** * Implementatin of hook_install(). Installs the schema. */ function fieldformat_install() { drupal_install_schema('fieldformat'); }