-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Gegenereerd op: 28 apr 2019 om 22:50
-- Serverversie: 10.1.38-MariaDB
-- PHP-versie: 7.3.2

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: `argile`
--

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

--
-- Tabelstructuur voor tabel `commande`
--

CREATE TABLE `commande` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `kap` varchar(100) COLLATE latin1_general_ci NOT NULL,
  `isKAP` tinyint(1) NOT NULL DEFAULT '1',
  `contact` varchar(100) COLLATE latin1_general_ci NOT NULL,
  `phone` varchar(50) COLLATE latin1_general_ci NOT NULL,
  `mail` varchar(100) COLLATE latin1_general_ci NOT NULL,
  `number25` int(11) NOT NULL,
  `box25` int(11) NOT NULL,
  `number50` int(11) NOT NULL,
  `box50` int(11) NOT NULL,
  `numberjug` int(11) NOT NULL,
  `boxjug` int(11) NOT NULL,
  `empty` int(11) NOT NULL,
  `pickdate` varchar(10) COLLATE latin1_general_ci NOT NULL,
  `eventdate` varchar(10) COLLATE latin1_general_ci NOT NULL,
  `comment` varchar(255) COLLATE latin1_general_ci NOT NULL,
  `organe` tinyint(4) NOT NULL DEFAULT '0',
  `deliveryDate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deliveryUserID` int(11) NOT NULL,
  `number25_r` int(11) NOT NULL DEFAULT '0',
  `number25_dirty` int(11) NOT NULL DEFAULT '0',
  `box25_r` int(11) NOT NULL DEFAULT '0',
  `number50_r` int(11) NOT NULL DEFAULT '0',
  `number50_dirty` int(11) NOT NULL DEFAULT '0',
  `box50_r` int(11) NOT NULL DEFAULT '0',
  `numberjug_r` int(11) NOT NULL DEFAULT '0',
  `numberjug_dirty` int(11) NOT NULL DEFAULT '0',
  `boxjug_r` int(11) NOT NULL DEFAULT '0',
  `empty_r` int(11) NOT NULL DEFAULT '0',
  `top_r` int(11) NOT NULL DEFAULT '0',
  `returnFine` int(11) NOT NULL DEFAULT '0',
  `returnDate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `returnUserID` int(11) NOT NULL,
  `billingDate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `billingUserID` int(11) NOT NULL,
  `status` int(11) NOT NULL DEFAULT '0',
  `modification_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `creation_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

--
-- Indexen voor geëxporteerde tabellen
--

--
-- Indexen voor tabel `commande`
--
ALTER TABLE `commande`
  ADD UNIQUE KEY `id` (`id`);

--
-- AUTO_INCREMENT voor geëxporteerde tabellen
--

--
-- AUTO_INCREMENT voor een tabel `commande`
--
ALTER TABLE `commande`
  MODIFY `id` bigint(20) UNSIGNED 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 */;
