<?php

/**
 * @file
 * Install, update, and uninstall functions for the Archibald Curricula Example
 * module.
 */

/**
 * Implements hook_uninstall().
 */
function archibald_curricula_example_uninstall() {
  // Remove custom variables.
  foreach (array(
    'archibald_curricula_example_entities_added_fields',
  ) as $variable) {
    variable_del($variable);
  }
}

/**
 * Implements hook_field_schema().
 */
function archibald_curricula_example_field_schema($field) {
  switch ($field['type']) {
    case 'archibald_curricula_example':
      return array(
        'columns' => array(
          'item_ids' => array('type' => 'text'),
        ),
      );
  }
}
