-- phpMyAdmin SQL Dump
-- version 4.0.10.7
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generation Time: May 02, 2016 at 10:52 AM
-- Server version: 5.6.29
-- PHP Version: 5.4.31

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!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 */;

--
-- Database: `alvimagl_1`
--

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

--
-- Table structure for table `customer`
--

CREATE TABLE IF NOT EXISTS `customer` (
  `customer_id` int(11) NOT NULL AUTO_INCREMENT,
  `airwaybill` varchar(100) NOT NULL,
  `s_name` varchar(100) NOT NULL,
  `s_address` varchar(100) NOT NULL,
  `s_city` varchar(100) NOT NULL,
  `s_state` varchar(100) NOT NULL,
  `s_postcode` varchar(100) NOT NULL,
  `s_country` varchar(100) NOT NULL,
  `s_telephone` varchar(100) NOT NULL,
  `s_email` varchar(100) NOT NULL,
  `r_name` varchar(100) NOT NULL,
  `r_address` varchar(100) NOT NULL,
  `r_city` varchar(100) NOT NULL,
  `r_state` varchar(100) NOT NULL,
  `r_postcode` varchar(100) NOT NULL,
  `r_country` varchar(100) NOT NULL,
  `r_telephone` varchar(100) NOT NULL,
  `r_email` varchar(100) NOT NULL,
  PRIMARY KEY (`customer_id`),
  UNIQUE KEY `airwaybill` (`airwaybill`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `customer`
--

INSERT INTO `customer` (`customer_id`, `airwaybill`, `s_name`, `s_address`, `s_city`, `s_state`, `s_postcode`, `s_country`, `s_telephone`, `s_email`, `r_name`, `r_address`, `r_city`, `r_state`, `r_postcode`, `r_country`, `r_telephone`, `r_email`) VALUES
(1, '1029384756', 'SENDERS NAME', 'ADDRESS', 'CITY', 'STATE', 'POSTCODE', 'COUNTRY', 'TELEPHONE', 'EMAIL', 'RECEIVERS NAME', 'ADDRESS', 'CITY', 'STATE', 'POSTCODE', 'COUNTRY', 'TELEPHONE', 'EMAIL');

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

--
-- Table structure for table `tracking`
--

CREATE TABLE IF NOT EXISTS `tracking` (
  `tracking_id` int(11) NOT NULL AUTO_INCREMENT,
  `airwaybill` varchar(100) NOT NULL,
  `time` varchar(100) NOT NULL,
  `description` varchar(100) NOT NULL,
  `eta` varchar(100) NOT NULL,
  PRIMARY KEY (`tracking_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `tracking`
--

INSERT INTO `tracking` (`tracking_id`, `airwaybill`, `time`, `description`, `eta`) VALUES
(1, '1029384756', '1200 27-04-2016', 'ARRIVED HTW, UK', '1500 28-04-2016'),
(2, '1029384756', '2350 28-04-2016', 'ARRIVED ACCRA GHANA', '1200 29-04-2016'),
(3, '1029384756', '1200 29-04-2016', 'DELIVERY COMPLETE', '1200 29-04-2016');

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