-- phpMyAdmin SQL Dump
-- version OVH
-- https://www.phpmyadmin.net/
--
-- Hôte : charliecxg206.mysql.db:3306
-- Généré le :  Dim 07 fév. 2021 à 22:27
-- Version du serveur :  5.6.50-log
-- Version de PHP :  7.3.20

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

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

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

--
-- Structure de la table `B2B_inactive_clients`
--

CREATE TABLE `B2B_inactive_clients` (
  `id` int(11) NOT NULL,
  `sellsy_id` int(11) NOT NULL,
  `client_name` varchar(200) CHARACTER SET utf8 NOT NULL,
  `client_type` enum('Client Stock','Client Drop Shipping') NOT NULL,
  `count_orders` int(11) NOT NULL,
  `last_order_id` int(11) NOT NULL,
  `last_order_ident` varchar(20) CHARACTER SET utf8 DEFAULT NULL,
  `last_order_formattedDate` date DEFAULT NULL,
  `last_order_date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `B2B_inactive_clients`
--
ALTER TABLE `B2B_inactive_clients`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sellsy_id` (`sellsy_id`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `B2B_inactive_clients`
--
ALTER TABLE `B2B_inactive_clients`
  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 */;
