1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /****************************************************************************
- * @section Chado Table Descriptions
- ****************************************************************************/
-
- /****************************************************************************
- * Implements hook_chado_feature_schema()
- * Purpose: To add descriptions and foreign keys to default table description
- * Note: This array will be merged with the array from all other implementations
- *
- * @return
- * Array describing the feature table
- */
- function tripal_stock_chado_feature_schema() {
- $description = array();
- $description['foreign keys']['organism'] = array(
- 'table' => 'organism',
- 'columns' => array(
- 'organism_id' => 'organism_id',
- ),
- );
-
- $description['foreign keys']['dbxref'] = array(
- 'table' => 'dbxref',
- 'columns' => array(
- 'dbxref_id' => 'dbxref_id',
- ),
- );
-
- $description['foreign keys']['cvterm'] = array(
- 'table' => 'cvterm',
- 'columns' => array(
- 'type_id' => 'cvterm_id',
- ),
- );
- return $description;
- }
|