function tripal_analysis_install

2.x tripal_analysis.install tripal_analysis_install()
3.x tripal_analysis.install tripal_analysis_install()
1.x tripal_analysis.install tripal_analysis_install()

Implementation of hook_install().

Related topics

File

tripal_analysis/tripal_analysis.install, line 51
Implements hooks from the Schema API.

Code

function tripal_analysis_install() {

  // we may need the analysisfeatureprop table if it doesn't already exist
  tripal_analysis_create_analysisfeatureprop();

  // add vocabularies
  tripal_analysis_add_cvs();

  // add cvterms
  tripal_analysis_add_cvterms();

  // add materialized views
  tripal_analysis_add_mview_analysis_organism();

  // set the default vocabularies
  tripal_set_default_cv('analysisprop', 'type_id', 'analysis_property');
}