Tripal 0.3b
tripal_natural_diversity/tripal_natural_diversity.api.inc
Go to the documentation of this file.
00001 <?php
00002 
00003 function tripal_natural_diversity_chado_nd_experiment_schema () {
00004   $description = array();
00005   
00006   $description = array(
00007     'table' => 'nd_experiment',
00008     'fields' => array(
00009       'nd_experiment_id' => array(
00010         'type' => 'serial',
00011         'not null' => '1',
00012       ),
00013       'type_id' => array(
00014         'type' => 'int',
00015         'not null' => '1',
00016       ),
00017       'nd_geolocation_id' => array(
00018         'type' => 'int',
00019         'not null' => '1',
00020       ),
00021     ),
00022     'primary key' => array(
00023       '0' => 'nd_experiment_id',
00024     ),
00025     'foreign keys' => array(
00026       'nd_geolocation' => array(
00027         'table' => 'nd_geolocation',
00028         'columns' => array(
00029           'nd_geolocation_id' => 'nd_geolocation_id',
00030         ),
00031       ),
00032       'cvterm' => array(
00033         'table' => 'cvterm',
00034         'columns' => array(
00035           'type_id' => 'cvterm_id',
00036         ),
00037       ),
00038     ),
00039     'referring_tables' => array(
00040       'nd_experiment_contact',
00041       'nd_experiment_dbxref',
00042       'nd_experiment_genotype',
00043       'nd_experiment_phenotype',
00044       'nd_experiment_project',
00045       'nd_experiment_protocol',
00046       'nd_experiment_pub',
00047       'nd_experiment_stock',
00048       'nd_experimentprop'
00049     ),
00050   );
00051   
00052   return $description;
00053 }
00054 
00055 function tripal_natural_diversity_chado_nd_experiment_contact_schema () {
00056   $description = array();
00057   
00058   $description = array(
00059     'table' => 'nd_experiment_contact',
00060     'fields' => array(
00061       'nd_experiment_contact_id' => array(
00062         'type' => 'serial',
00063         'not null' => '1',
00064       ),
00065       'contact_id' => array(
00066         'type' => 'int',
00067         'not null' => '1',
00068       ),
00069       'nd_experiment_id' => array(
00070         'type' => 'int',
00071         'not null' => '1',
00072       ),
00073     ),
00074     'primary key' => array(
00075       '0' => 'nd_experiment_contact_id',
00076     ),
00077     'foreign keys' => array(
00078       'nd_experiment' => array(
00079         'table' => 'nd_experiment',
00080         'columns' => array(
00081           'nd_experiment_id' => 'nd_experiment_id',
00082         ),
00083       ),
00084       'contact' => array(
00085         'table' => 'contact',
00086         'columns' => array(
00087           'contact_id' => 'contact_id',
00088         ),
00089       ),
00090     ),
00091     'referring_tables' => array(
00092 
00093     ),
00094   );
00095   
00096   return $description;
00097 }
00098 
00099 function tripal_natural_diversity_chado_nd_experiment_dbxref_schema () {
00100   $description = array();
00101   
00102   $description = array(
00103     'table' => 'nd_experiment_dbxref',
00104     'fields' => array(
00105       'nd_experiment_dbxref_id' => array(
00106         'type' => 'serial',
00107         'not null' => '1',
00108       ),
00109       'dbxref_id' => array(
00110         'type' => 'int',
00111         'not null' => '1',
00112       ),
00113       'nd_experiment_id' => array(
00114         'type' => 'int',
00115         'not null' => '1',
00116       ),
00117     ),
00118     'primary key' => array(
00119       '0' => 'nd_experiment_dbxref_id',
00120     ),
00121     'foreign keys' => array(
00122       'nd_experiment' => array(
00123         'table' => 'nd_experiment',
00124         'columns' => array(
00125           'nd_experiment_id' => 'nd_experiment_id',
00126         ),
00127       ),
00128       'dbxref' => array(
00129         'table' => 'dbxref',
00130         'columns' => array(
00131           'dbxref_id' => 'dbxref_id',
00132         ),
00133       ),
00134     ),
00135     'referring_tables' => array(
00136 
00137     ),
00138   );
00139   
00140   return $description;
00141 }
00142 
00143 function tripal_natural_diversity_chado_nd_experiment_genotype_schema () {
00144   $description = array();
00145   
00146   $description = array(
00147     'table' => 'nd_experiment_genotype',
00148     'fields' => array(
00149       'nd_experiment_genotype_id' => array(
00150         'type' => 'serial',
00151         'not null' => '1',
00152       ),
00153       'genotype_id' => array(
00154         'type' => 'int',
00155         'not null' => '1',
00156       ),
00157       'nd_experiment_id' => array(
00158         'type' => 'int',
00159         'not null' => '1',
00160       ),
00161     ),
00162     'primary key' => array(
00163       '0' => 'nd_experiment_genotype_id',
00164     ),
00165     'foreign keys' => array(
00166       'nd_experiment' => array(
00167         'table' => 'nd_experiment',
00168         'columns' => array(
00169           'nd_experiment_id' => 'nd_experiment_id',
00170         ),
00171       ),
00172       'genotype' => array(
00173         'table' => 'genotype',
00174         'columns' => array(
00175           'genotype_id' => 'genotype_id',
00176         ),
00177       ),
00178     ),
00179     'referring_tables' => array(
00180 
00181     ),
00182   );
00183   
00184   return $description;
00185 }
00186 
00187 function tripal_natural_diversity_chado_nd_experiment_phenotype_schema () {
00188   $description = array();
00189   
00190   $description = array(
00191     'table' => 'nd_experiment_phenotype',
00192     'fields' => array(
00193       'nd_experiment_phenotype_id' => array(
00194         'type' => 'serial',
00195         'not null' => '1',
00196       ),
00197       'phenotype_id' => array(
00198         'type' => 'int',
00199         'not null' => '1',
00200       ),
00201       'nd_experiment_id' => array(
00202         'type' => 'int',
00203         'not null' => '1',
00204       ),
00205     ),
00206     'primary key' => array(
00207       '0' => 'nd_experiment_phenotype_id',
00208     ),
00209     'foreign keys' => array(
00210       'nd_experiment' => array(
00211         'table' => 'nd_experiment',
00212         'columns' => array(
00213           'nd_experiment_id' => 'nd_experiment_id',
00214         ),
00215       ),
00216       'phenotype' => array(
00217         'table' => 'phenotype',
00218         'columns' => array(
00219           'phenotype_id' => 'phenotype_id',
00220         ),
00221       ),
00222     ),
00223     'referring_tables' => array(
00224 
00225     ),
00226   );
00227   
00228   return $description;
00229 }
00230 
00231 function tripal_natural_diversity_chado_nd_experiment_project_schema () {
00232   $description = array();
00233   
00234   $description = array(
00235     'table' => 'nd_experiment_project',
00236     'fields' => array(
00237       'nd_experiment_project_id' => array(
00238         'type' => 'serial',
00239         'not null' => '1',
00240       ),
00241       'project_id' => array(
00242         'type' => 'int',
00243         'not null' => '1',
00244       ),
00245       'nd_experiment_id' => array(
00246         'type' => 'int',
00247         'not null' => '1',
00248       ),
00249     ),
00250     'primary key' => array(
00251       '0' => 'nd_experiment_project_id',
00252     ),
00253     'foreign keys' => array(
00254       'nd_experiment' => array(
00255         'table' => 'nd_experiment',
00256         'columns' => array(
00257           'nd_experiment_id' => 'nd_experiment_id',
00258         ),
00259       ),
00260       'project' => array(
00261         'table' => 'project',
00262         'columns' => array(
00263           'project_id' => 'project_id',
00264         ),
00265       ),
00266     ),
00267     'referring_tables' => array(
00268 
00269     ),
00270   );
00271   
00272   return $description;
00273 }
00274 
00275 function tripal_natural_diversity_chado_nd_experiment_protocol_schema () {
00276   $description = array();
00277   
00278   $description = array(
00279     'table' => 'nd_experiment_protocol',
00280     'fields' => array(
00281       'nd_experiment_protocol_id' => array(
00282         'type' => 'serial',
00283         'not null' => '1',
00284       ),
00285       'protocol_id' => array(
00286         'type' => 'int',
00287         'not null' => '1',
00288       ),
00289       'nd_experiment_id' => array(
00290         'type' => 'int',
00291         'not null' => '1',
00292       ),
00293     ),
00294     'primary key' => array(
00295       '0' => 'nd_experiment_protocol_id',
00296     ),
00297     'foreign keys' => array(
00298       'nd_experiment' => array(
00299         'table' => 'nd_experiment',
00300         'columns' => array(
00301           'nd_experiment_id' => 'nd_experiment_id',
00302         ),
00303       ),
00304       'protocol' => array(
00305         'table' => 'protocol',
00306         'columns' => array(
00307           'protocol_id' => 'protocol_id',
00308         ),
00309       ),
00310     ),
00311     'referring_tables' => array(
00312 
00313     ),
00314   );
00315   
00316   return $description;
00317 }
00318 
00319 function tripal_natural_diversity_chado_nd_experiment_pub_schema () {
00320   $description = array();
00321   
00322   $description = array(
00323     'table' => 'nd_experiment_pub',
00324     'fields' => array(
00325       'nd_experiment_pub_id' => array(
00326         'type' => 'serial',
00327         'not null' => '1',
00328       ),
00329       'pub_id' => array(
00330         'type' => 'int',
00331         'not null' => '1',
00332       ),
00333       'nd_experiment_id' => array(
00334         'type' => 'int',
00335         'not null' => '1',
00336       ),
00337     ),
00338     'primary key' => array(
00339       '0' => 'nd_experiment_pub_id',
00340     ),
00341     'foreign keys' => array(
00342       'nd_experiment' => array(
00343         'table' => 'nd_experiment',
00344         'columns' => array(
00345           'nd_experiment_id' => 'nd_experiment_id',
00346         ),
00347       ),
00348       'pub' => array(
00349         'table' => 'pub',
00350         'columns' => array(
00351           'pub_id' => 'pub_id',
00352         ),
00353       ),
00354     ),
00355     'referring_tables' => array(
00356 
00357     ),
00358   );
00359   
00360   return $description;
00361 }
00362 
00363 function tripal_natural_diversity_chado_nd_experiment_stock_schema () {
00364   $description = array();
00365   
00366   $description = array(
00367     'table' => 'nd_experiment_stock',
00368     'fields' => array(
00369       'nd_experiment_stock_id' => array(
00370         'type' => 'serial',
00371         'not null' => '1',
00372       ),
00373       'stock_id' => array(
00374         'type' => 'int',
00375         'not null' => '1',
00376       ),
00377       'nd_experiment_id' => array(
00378         'type' => 'int',
00379         'not null' => '1',
00380       ),
00381       'type_id' => array(
00382         'type' => 'int',
00383         'not null' => '1',
00384       ),
00385     ),
00386     'primary key' => array(
00387       '0' => 'nd_experiment_stock_id',
00388     ),
00389     'foreign keys' => array(
00390       'nd_experiment' => array(
00391         'table' => 'nd_experiment',
00392         'columns' => array(
00393           'nd_experiment_id' => 'nd_experiment_id',
00394         ),
00395       ),
00396       'stock' => array(
00397         'table' => 'stock',
00398         'columns' => array(
00399           'stock_id' => 'stock_id',
00400         ),
00401       ),
00402       'cvterm' => array(
00403         'table' => 'cvterm',
00404         'columns' => array(
00405           'type_id' => 'cvterm_id',
00406         ),
00407       ),
00408     ),
00409     'referring_tables' => array(
00410       'nd_experiment_stock_dbxref',
00411       'nd_experiment_stockprop',
00412     ),
00413   );
00414   
00415   return $description;
00416 }
00417 
00418 function tripal_natural_diversity_chado_nd_experiment_stockprop_schema () {
00419   $description = array();
00420   
00421   $description = array(
00422     'table' => 'nd_experiment_stockprop',
00423     'fields' => array(
00424       'nd_experiment_stockprop_id' => array(
00425         'type' => 'serial',
00426         'not null' => '1',
00427       ),
00428       'nd_experiment_stock_id' => array(
00429         'type' => 'int',
00430         'not null' => '1',
00431       ),
00432       'type_id' => array(
00433         'type' => 'int',
00434         'not null' => '1',
00435       ),
00436       'value' => array(
00437         'type' => 'varchar',
00438       ),
00439       'rank' => array(
00440         'type' => 'int',
00441         'not null' => 1,
00442         'default' => 1
00443       ),
00444     ),
00445     'primary key' => array(
00446       '0' => 'nd_experiment_stockprop_id',
00447     ),
00448     'foreign keys' => array(
00449       'nd_experiment_stock' => array(
00450         'table' => 'nd_experiment_stock',
00451         'columns' => array(
00452           'nd_experiment_stock_id' => 'nd_experiment_stock_id',
00453         ),
00454       ),
00455       'cvterm' => array(
00456         'table' => 'cvterm',
00457         'columns' => array(
00458           'type_id' => 'cvterm_id',
00459         ),
00460       ),
00461     ),
00462     'referring_tables' => array(
00463     ),
00464   );
00465   
00466   return $description;
00467 }
00468 
00469 function tripal_natural_diversity_chado_nd_experiment_stock_dbxref_schema () {
00470   $description = array();
00471   
00472   $description = array(
00473     'table' => 'nd_experiment_stock_dbxref',
00474     'fields' => array(
00475       'nd_experiment_stock_dbxref_id' => array(
00476         'type' => 'serial',
00477         'not null' => '1',
00478       ),
00479       'nd_experiment_stock_id' => array(
00480         'type' => 'int',
00481         'not null' => '1',
00482       ),
00483       'dbxref_id' => array(
00484         'type' => 'int',
00485         'not null' => '1',
00486       ),
00487     ),
00488     'primary key' => array(
00489       '0' => 'nd_experiment_stock_dbxref_id',
00490     ),
00491     'foreign keys' => array(
00492       'nd_experiment_stock' => array(
00493         'table' => 'nd_experiment_stock',
00494         'columns' => array(
00495           'nd_experiment_stock_id' => 'nd_experiment_stock_id',
00496         ),
00497       ),
00498       'dbxref' => array(
00499         'table' => 'dbxref',
00500         'columns' => array(
00501           'dbxref_id' => 'dbxref_id',
00502         ),
00503       ),
00504     ),
00505     'referring_tables' => array(
00506 
00507     ),
00508   );
00509   
00510   return $description;
00511 }
00512 
00513 function tripal_natural_diversity_chado_nd_experimentprop_schema () {
00514   $description = array();
00515   
00516   $description = array(
00517     'table' => 'nd_experimentprop',
00518     'fields' => array(
00519       'nd_experimentprop_id' => array(
00520         'type' => 'serial',
00521         'not null' => '1',
00522       ),
00523       'nd_experiment_id' => array(
00524         'type' => 'int',
00525         'not null' => '1',
00526       ),
00527       'type_id' => array(
00528         'type' => 'int',
00529         'not null' => '1',
00530       ),
00531       'value' => array(
00532         'type' => 'varchar',
00533       ),
00534       'rank' => array(
00535         'type' => 'int',
00536         'not null' => 1,
00537         'default' => 1
00538       ),
00539     ),
00540     'primary key' => array(
00541       '0' => 'nd_experimentprop_id',
00542     ),
00543     'foreign keys' => array(
00544       'nd_experiment' => array(
00545         'table' => 'nd_experiment',
00546         'columns' => array(
00547           'nd_experiment_id' => 'nd_experiment_id',
00548         ),
00549       ),
00550       'cvterm' => array(
00551         'table' => 'cvterm',
00552         'columns' => array(
00553           'type_id' => 'cvterm_id',
00554         ),
00555       ),
00556     ),
00557     'referring_tables' => array(
00558     ),
00559   );
00560   
00561   return $description;
00562 }
00563 
00564 function tripal_natural_diversity_chado_nd_geolocation_schema () {
00565   $description = array();
00566   
00567   $description = array(
00568     'table' => 'nd_reagent',
00569     'fields' => array(
00570       'nd_geolocation_id' => array(
00571         'type' => 'serial',
00572         'not null' => '1',
00573       ),
00574       'description' => array(
00575         'type' => 'varchar'
00576       ),
00577       'latitude' => array(
00578         'type' => 'real',
00579       ),
00580       'longitude' => array(
00581         'type' => 'real',
00582       ),
00583       'altitude' => array(
00584         'type' => 'real',
00585       ),
00586       'geodetic_datum' => array(
00587         'type' => 'varchar',
00588       ),
00589     ),
00590     'primary key' => array(
00591       '0' => 'nd_geolocation_id',
00592     ),
00593     'referring_tables' => array(
00594       'nd_experiment',
00595       'nd_geolocationprop'
00596     ),
00597   );
00598   
00599   return $description;
00600 }
00601 
00602 function tripal_natural_diversity_chado_nd_geolocationprop_schema () {
00603   $description = array();
00604   
00605   $description = array(
00606     'table' => 'nd_geolocationprop',
00607     'fields' => array(
00608       'nd_geolocationprop_id' => array(
00609         'type' => 'serial',
00610         'not null' => '1',
00611       ),
00612       'nd_geolocation_id' => array(
00613         'type' => 'int',
00614         'not null' => '1',
00615       ),
00616       'type_id' => array(
00617         'type' => 'int',
00618         'not null' => '1',
00619       ),
00620       'value' => array(
00621         'type' => 'varchar',
00622       ),
00623       'rank' => array(
00624         'type' => 'int',
00625         'not null' => 1,
00626         'default' => 1
00627       ),
00628     ),
00629     'primary key' => array(
00630       '0' => 'nd_geolocationprop_id',
00631     ),
00632     'foreign keys' => array(
00633       'nd_geolocation' => array(
00634         'table' => 'nd_geolocation',
00635         'columns' => array(
00636           'nd_geolocation_id' => 'nd_geolocation_id',
00637         ),
00638       ),
00639       'cvterm' => array(
00640         'table' => 'cvterm',
00641         'columns' => array(
00642           'type_id' => 'cvterm_id',
00643         ),
00644       ),
00645     ),
00646     'referring_tables' => array(
00647     ),
00648   );
00649   
00650   return $description;
00651 }
00652 
00653 function tripal_natural_diversity_chado_nd_protocol_schema () {
00654   $description = array();
00655   
00656   $description = array(
00657     'table' => 'nd_protocol',
00658     'fields' => array(
00659       'nd_protocol_id' => array(
00660         'type' => 'serial',
00661         'not null' => 1,
00662       ),
00663       'name' => array(
00664         'type' => 'varchar',
00665         'not null' => 1,
00666       ),
00667     ),
00668     'primary key' => array(
00669      '0' => 'nd_protocol_id',
00670     ),
00671     'referring_tables' => array(
00672       'nd_experiment_protocol',
00673       'nd_protocol_reagent',
00674       'nd_protocolprop'  
00675     ),
00676   );
00677   
00678   return $description;
00679 }
00680 
00681 function tripal_natural_diversity_chado_nd_protocol_reagent_schema () {
00682   $description = array();
00683   
00684   $description = array(
00685     'table' => 'nd_protocol_reagent',
00686     'fields' => array(
00687       'nd_protocol_reagent_id' => array(
00688         'type' => 'serial',
00689         'not null' => 1,
00690       ),    
00691       'nd_protocol_id' => array(
00692         'type' => 'int',
00693         'not null' => 1,
00694       ),
00695       'nd_reagent_id' => array(
00696         'type' => 'int',
00697         'not null' => 1,
00698       ),
00699       'type_id' => array(
00700         'type' => 'int',
00701         'not null' => 1,
00702       ),
00703     ),
00704     'primary key' => array(
00705       '0' => 'nd_protocol_reagent_id',   
00706     ),
00707     'foreign keys' => array(
00708       'nd_protocol' => array(
00709         'table' => 'nd_protocol',
00710         'columns' => array(
00711           'nd_protocol_id' => 'nd_protocol_id',
00712         ),
00713       ),
00714       'nd_reagent' => array(
00715         'table' => 'nd_reagent',
00716         'columns' => array(
00717           'nd_reagent_id' => 'nd_reagent_id',
00718         ),
00719       ),
00720       'cvterm' => array(
00721         'table' => 'cvterm',
00722         'columns' => array(
00723           'type_id' => 'cvterm_id',
00724         ),
00725       ),
00726     ),
00727     'referring_tables' => array(
00728     
00729     ),
00730   );
00731   
00732   return $description;
00733 }
00734 
00735 function tripal_natural_diversity_chado_nd_protocolprop_schema () {
00736   $description = array();
00737   
00738   $description = array(
00739     'table' => 'nd_protocolprop',
00740     'fields' => array(
00741       'nd_protocolprop_id' => array(
00742         'type' => 'serial',
00743         'not null' => '1',
00744       ),
00745       'nd_protocol_id' => array(
00746         'type' => 'int',
00747         'not null' => '1',
00748       ),
00749       'type_id' => array(
00750         'type' => 'int',
00751         'not null' => '1',
00752       ),
00753       'value' => array(
00754         'type' => 'varchar',
00755       ),
00756       'rank' => array(
00757         'type' => 'int',
00758         'not null' => 1,
00759         'default' => 1
00760       ),
00761     ),
00762     'primary key' => array(
00763       '0' => 'nd_protocolprop_id',
00764     ),
00765     'foreign keys' => array(
00766       'nd_protocol' => array(
00767         'table' => 'nd_protocol',
00768         'columns' => array(
00769           'nd_protocol_id' => 'nd_protocol_id',
00770         ),
00771       ),
00772       'cvterm' => array(
00773         'table' => 'cvterm',
00774         'columns' => array(
00775           'type_id' => 'cvterm_id',
00776         ),
00777       ),
00778     ),
00779     'referring_tables' => array(
00780     ),
00781   );
00782   
00783   return $description;
00784 }
00785 
00786 function tripal_natural_diversity_chado_nd_reagent_schema () {
00787   $description = array();
00788   
00789   $description = array(
00790     'table' => 'nd_reagent',
00791     'fields' => array(
00792       'nd_reagent_id' => array(
00793         'type' => 'serial',
00794         'not null' => '1',
00795       ),
00796       'type_id' => array(
00797         'type' => 'int',
00798         'not null' => '1',
00799       ),
00800       'feature_id' => array(
00801         'type' => 'int',
00802       ),
00803     ),
00804     'primary key' => array(
00805       '0' => 'nd_reagent_id',
00806     ),
00807     'foreign keys' => array(
00808       'feature' => array(
00809         'table' => 'feature',
00810         'columns' => array(
00811           'feature_id' => 'feature_id',
00812         ),
00813       ),
00814       'cvterm' => array(
00815         'table' => 'cvterm',
00816         'columns' => array(
00817           'type_id' => 'cvterm_id',
00818         ),
00819       ),
00820     ),
00821   );
00822   
00823   return $description;
00824 }
00825 
00826 function tripal_natural_diversity_chado_nd_reagent_relationship_schema () {
00827   $description = array();
00828   
00829   $description = array(
00830     'table' => 'nd_reagent_relationship',
00831     'fields' => array(
00832       'nd_reagent_relationship_id' => array(
00833         'type' => 'serial',
00834         'not null' => '1',
00835       ),
00836       'subject_reagent_id' => array(
00837         'type' => 'int',
00838         'not null' => '1',
00839       ),
00840       'type_id' => array(
00841         'type' => 'int',
00842         'not null' => '1',
00843       ),
00844       'object_reagent_id' => array(
00845         'type' => 'int',
00846         'not null' => '1',
00847       ),
00848     ),
00849     'primary key' => array(
00850       '0' => 'nd_reagent_relationship_id',
00851     ),
00852     'foreign keys' => array(
00853       'nd_reagent' => array(
00854         'table' => 'feature',
00855         'columns' => array(
00856           'subject_reagent_id' => 'nd_reagent_id',
00857           'object_reagent_id' => 'nd_reagent_id',
00858         ),
00859       ),
00860       'cvterm' => array(
00861         'table' => 'cvterm',
00862         'columns' => array(
00863           'type_id' => 'cvterm_id',
00864         ),
00865       ),
00866     ),
00867   );
00868   
00869   return $description;
00870 }
00871 
00872 function tripal_natural_diversity_chado_nd_reagentprop_schema () {
00873   $description = array();
00874   
00875   $description = array(
00876     'table' => 'nd_reagentprop',
00877     'fields' => array(
00878       'nd_reagentprop_id' => array(
00879         'type' => 'serial',
00880         'not null' => '1',
00881       ),
00882       'nd_reagent_id' => array(
00883         'type' => 'int',
00884         'not null' => '1',
00885       ),
00886       'type_id' => array(
00887         'type' => 'int',
00888         'not null' => '1',
00889       ),
00890       'value' => array(
00891         'type' => 'varchar',
00892       ),
00893       'rank' => array(
00894         'type' => 'int',
00895         'not null' => 1,
00896         'default' => 1
00897       ),
00898     ),
00899     'primary key' => array(
00900       '0' => 'nd_reagentprop_id',
00901     ),
00902     'foreign keys' => array(
00903       'nd_reagent' => array(
00904         'table' => 'nd_reagent',
00905         'columns' => array(
00906           'nd_reagent_id' => 'nd_reagent_id',
00907         ),
00908       ),
00909       'cvterm' => array(
00910         'table' => 'cvterm',
00911         'columns' => array(
00912           'type_id' => 'cvterm_id',
00913         ),
00914       ),
00915     ),
00916     'referring_tables' => array(
00917     ),
00918   );
00919   
00920   return $description;
00921 }
 All Classes Files Functions Variables