-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Mar 12, 2019 at 04:40 PM
-- Server version: 5.7.23
-- PHP Version: 5.6.30

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;

--
-- Database: `api-sincropool`
--

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

--
-- Table structure for table `viaje`
--

CREATE TABLE `viaje` (
  `id` int(11) NOT NULL,
  `estado` int(11) NOT NULL,
  `sincropool_id` int(11) NOT NULL,
  `trip_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `vip_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_time` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_latlng` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_pax_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_pax_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_pax_company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_pax_cc` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_pax_SubCC` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_requestor_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_requestor_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_requestor_company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_requestor_cc` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_flight_comment` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `departure_message` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_time` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_latlng` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_pax_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_pax_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_pax_company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_pax_cc` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_pax_SubCC` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_requestor_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_requestor_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_requestor_company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_flight_comment` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `return_message` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `confirmed_byApi_at` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `manual_accepted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `viaje`
--
ALTER TABLE `viaje`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `viaje`
--
ALTER TABLE `viaje`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

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