/*
 Navicat MySQL Data Transfer

 Source Server         : Production
 Source Server Type    : MySQL
 Source Server Version : 100144
 Source Host           : localhost:3306
 Source Schema         : kiosk_buys

 Target Server Type    : MySQL
 Target Server Version : 100144
 File Encoding         : 65001

 Date: 05/09/2020 14:24:30
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for systemBuys
-- ----------------------------
DROP TABLE IF EXISTS `systemBuys`;
CREATE TABLE `systemBuys` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `timeStamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `origin` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `customerID` int(11) NOT NULL,
  `buyID` int(11) NOT NULL,
  `driversLicense` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `phoneNum` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `uuid` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customerID` (`customerID`) USING BTREE,
  KEY `buyID` (`buyID`) USING BTREE,
  KEY `origin` (`origin`) USING HASH,
  KEY `driversLicense` (`driversLicense`) USING BTREE,
  KEY `uuid` (`uuid`) USING BTREE,
  KEY `timeStamp` (`timeStamp`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=9996507 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

SET FOREIGN_KEY_CHECKS = 1;
