function tripal_cv_get_tripal_cv_obo_table

2.x tripal_cv.install tripal_cv_get_tripal_cv_obo_table(&$schema)

Table definition for the tripal_cv_obo table

Parameters

$schema:

1 call to tripal_cv_get_tripal_cv_obo_table()
tripal_cv_schema in tripal_cv/tripal_cv.install
Implementation of hook_schema().

File

tripal_cv/tripal_cv.install, line 127
Contains functions executed only on install/uninstall of this module

Code

function tripal_cv_get_tripal_cv_obo_table(&$schema) {
  $schema['tripal_cv_obo'] = array(
    'fields' => array(
      'obo_id' => array(
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE
      ),
      'name' => array(
        'type' => 'varchar',
        'length' => 255
      ),
      'path' => array(
        'type' => 'varchar',
        'length' => 1024
      ),
    ),
    'indexes' => array(
      'tripal_cv_obo_idx1' => array('obo_id'),
    ),
    'primary key' => array('obo_id'),
  );
}