-- phpMyAdmin SQL Dump
-- version 3.2.4
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Mar 01 Juin 2010 à 10:28
-- Version du serveur: 5.1.40
-- Version de PHP: 5.3.1

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Base de données: `giant`
--

-- --------------------------------------------------------

--
-- Structure de la table `orders`
--

DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
  `ProviderOrderId` int(11) NOT NULL AUTO_INCREMENT,
  `TestIndication` tinyint(1) NOT NULL,
  `ConsumerId` tinytext COLLATE utf8_unicode_ci NOT NULL,
  `CompanyId` bigint(14) NOT NULL,
  `OrderType` enum('DataSet','Monitoring','Investigation') COLLATE utf8_unicode_ci NOT NULL,
  `DataSetType` enum('Full','Compact','CreditRecommendation','Flex') COLLATE utf8_unicode_ci NOT NULL,
  `ServiceLevelName` enum('Immediate','Normal','Urgent','Flash') COLLATE utf8_unicode_ci NOT NULL,
  `LanguageCode` enum('en','fr') COLLATE utf8_unicode_ci NOT NULL,
  `OrderStatus` enum('Completed','Pending','Delivered','Undeliverable') COLLATE utf8_unicode_ci NOT NULL,
  `OrderDateTime` datetime NOT NULL,
  `DateTimeCompleted` datetime NOT NULL,
  `DueDateTime` datetime NOT NULL,
  `DateTimeRetrieved` datetime NOT NULL,
  `Remark` text COLLATE utf8_unicode_ci NOT NULL,
  `DataSet` mediumblob NOT NULL,
  PRIMARY KEY (`ProviderOrderId`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
