commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / drupal / modules / civicrm_contact_ref / civicrm_contact_ref.install
1 <?php
2
3 /*
4 * Implemenation of hook_enable()
5 */
6 function civicrm_contact_ref_enable() {
7 db_query("UPDATE {system} SET weight = 110 WHERE name = 'civicrm_contact_ref'");
8 }
9
10 /*
11 * Implemenation of hook_field_schema()
12 */
13 function civicrm_contact_ref_field_schema($field) {
14 return array(
15 'columns' =>
16 array(
17 'contact_id' => array('type' => 'int',
18 'unsigned' => TRUE,
19 'not null' => FALSE,
20 )),
21 );
22 }