<?php
// $Id: uc_signup.install,v 1.4 2009/07/03 15:23:47 ezrag Exp $
/*
 * Implementation of hook_schema.
 */
function uc_signup_schema() {
  $schema['uc_signup_log'] = array(
    'description' => t(''),
    'fields' => array(
      'oid' => array(
        'description' => t("The Order ID where the signup was purchased."),
        'type' => 'int',
        'size' => 'normal',
        'not null' => TRUE,
      ),
      'sid' => array(
        'description' => t("The Signup ID."),
        'type' => 'int',
        'size' => 'normal',
        'not null' => TRUE,
      ),
      'type' => array(
        'description' => t("The Signup type. 0: pre-charge placeholder, 1: finalized signup."),
        'type' => 'int',
        'size' => 'normal',
        'not null' => TRUE,
      ),
    ),
  );
  return $schema;
}

/**
 * Implementation of hook_install
 */
function uc_signup_install() {
  drupal_install_schema('uc_signup');
}

/**
 * Implementation of hook_uninstall
 */
function uc_signup_uninstall() {
  drupal_uninstall_schema('uc_signup');
}