<?php

/**
 * @file
 * Install file.
 */

/**
 * Implements hook_schema().
 */
function diy_meta_alternate_schema() {
  $schema['diy_domain_countrycode'] = array(
    'description' => 'The base table for additional domain information',
    'fields' => array(
      'domain_id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'description' => 'Domain numeric id.'),
      'countrycode' => array('type' => 'varchar', 'length' => '255', 'not null' => TRUE, 'default' => '', 'description' => 'Country code'),
      'enabled' => array('type' => 'int', 'length' => '1', 'not null' => TRUE, 'default' => '0', 'description' => 'Enabled or Disabled'),
    ),
    'primary key' => array('domain_id'),
    'indexes' => array(),
    'foreign_keys' => array(
      'domain_id' => array('domain_export' => 'domain_id')
    ),
  );

  return $schema;
}