Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.4.1.1
- -- http://www.phpmyadmin.net
- --
- -- Client : localhost:3306
- -- Généré le : Lun 05 Juin 2017 à 16:38
- -- Version du serveur : 5.5.42
- -- Version de PHP : 5.6.7
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- SET time_zone = "+00:00";
- --
- -- Base de données : `DEMENOUS_DB`
- --
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_COMMANDES`
- --
- CREATE TABLE `DEN_COMMANDES` (
- `id` int(11) NOT NULL,
- `demenagement_id` int(11) DEFAULT NULL,
- `user_id` int(11) NOT NULL,
- `dateCreation` datetime NOT NULL,
- `dateMAJ` datetime NOT NULL,
- `libelle` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `statut` int(11) NOT NULL,
- `cout` int(11) NOT NULL,
- `nettoyage_id` int(11) DEFAULT NULL
- ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Contenu de la table `DEN_COMMANDES`
- --
- INSERT INTO `DEN_COMMANDES` (`id`, `demenagement_id`, `user_id`, `dateCreation`, `dateMAJ`, `libelle`, `statut`, `cout`, `nettoyage_id`) VALUES
- (8, 8, 4, '2016-06-05 17:00:00', '2016-06-05 08:00:00', 'Déménagement', 2, 290, NULL),
- (9, 9, 3, '2016-06-05 17:00:00', '2016-06-05 08:00:00', 'Déménagement a valider', 2, 620, NULL),
- (10, 10, 4, '2016-07-05 17:00:00', '2016-07-05 08:00:00', 'Test', 2, 290, NULL),
- (11, 11, 4, '2016-07-05 17:00:00', '2016-07-05 08:00:00', 'dess', 2, 320, NULL),
- (12, 12, 4, '2016-07-05 17:00:00', '2016-07-05 08:00:00', '', 1, 240, NULL),
- (13, 13, 4, '2016-07-05 17:00:00', '2016-07-05 08:00:00', 'deddes', 2, 360, NULL),
- (14, NULL, 1, '2016-08-09 17:00:00', '2016-08-09 08:00:00', '', 1, 75, 4);
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_DEMENAGEMENTS`
- --
- CREATE TABLE `DEN_DEMENAGEMENTS` (
- `id` int(11) NOT NULL,
- `ancienneAdresse` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `nouvelleAdresse` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `description` longtext COLLATE utf8_unicode_ci,
- `vehicule` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `nbDemenageurs` int(11) NOT NULL,
- `date` datetime NOT NULL,
- `duree` int(11) NOT NULL,
- `debut` time NOT NULL,
- `fin` time NOT NULL,
- `cout` int(11) NOT NULL,
- `creation` datetime NOT NULL,
- `modification` datetime DEFAULT NULL
- a) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Contenu de la table `DEN_DEMENAGEMENTS`
- --
- INSERT INTO `DEN_DEMENAGEMENTS` (`id`, `ancienneAdresse`, `nouvelleAdresse`, `description`, `vehicule`, `nbDemenageurs`, `date`, `duree`, `debut`, `fin`, `cout`, `creation`, `modification`) VALUES
- (8, '', '', NULL, '', 0, '0000-00-00 00:00:00', 0, '00:00:00', '00:00:00', 0, '0000-00-00 00:00:00', NULL),
- (9, '', '', NULL, '', 0, '0000-00-00 00:00:00', 0, '00:00:00', '00:00:00', 0, '0000-00-00 00:00:00', NULL),
- (10, '', '', NULL, '', 0, '0000-00-00 00:00:00', 0, '00:00:00', '00:00:00', 0, '0000-00-00 00:00:00', NULL),
- (11, '', '', NULL, '', 0, '0000-00-00 00:00:00', 0, '00:00:00', '00:00:00', 0, '0000-00-00 00:00:00', NULL),
- (12, 'Rue de Dunkerque, Paris, France', 'Rueil-Malmaison, France', 'desse', 'aucun', 2, '2016-07-07 00:00:00', 4, '18:00:00', '22:00:00', 240, '0000-00-00 00:00:00', NULL),
- (13, 'Rue de Dunkerque, Paris, France', 'Rueil-Malmaison, France', 'desse', 'aucun', 3, '2016-07-07 00:00:00', 7, '08:00:00', '17:00:00', 360, '0000-00-00 00:00:00', NULL);
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_GROUPS`
- --
- CREATE TABLE `DEN_GROUPS` (
- `id` int(11) NOT NULL,
- `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `roles` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:array)',
- `description` longtext COLLATE utf8_unicode_ci
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Contenu de la table `DEN_GROUPS`
- --
- INSERT INTO `DEN_GROUPS` (`id`, `name`, `roles`, `description`) VALUES
- (1, 'administrateurs', 'a:0:{}', NULL);
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_NETTOYAGES`
- --
- CREATE TABLE `DEN_NETTOYAGES` (
- `id` int(11) NOT NULL,
- `adresseNettoyage` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `surface` decimal(3,0) NOT NULL,
- `frequence` int(11) NOT NULL,
- `description` longtext COLLATE utf8_unicode_ci,
- `creation` datetime NOT NULL,
- `modification` datetime DEFAULT NULL,
- `date` datetime NOT NULL,
- `duree` int(11) NOT NULL,
- `debut` time NOT NULL,
- `fin` time NOT NULL,
- `cout` int(11) NOT NULL
- ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Contenu de la table `DEN_NETTOYAGES`
- --
- INSERT INTO `DEN_NETTOYAGES` (`id`, `adresseNettoyage`, `surface`, `frequence`, `description`, `creation`, `modification`, `date`, `duree`, `debut`, `fin`, `cout`) VALUES
- (1, 'ddddd', '234', 2, 'ddffff', '2016-07-31 13:47:44', '2016-07-31 13:47:44', '2016-07-31 00:00:00', 7, '08:00:00', '17:00:00', 70),
- (2, 'rue des plamiers', '233', 1, 'lorem ipsum', '2016-08-08 07:37:59', '2016-08-08 07:37:59', '2016-08-27 00:00:00', 7, '08:00:00', '17:00:00', 70),
- (3, 'Rue des martyrs', '345', 3, 'Merci de me contacter que je puise vous indiquer préciser mon pb', '2016-08-08 07:44:25', '2016-08-08 07:44:25', '2016-08-24 00:00:00', 3, '13:00:00', '16:00:00', 60),
- (4, 'dessse', '34', 1, 'dddfff ffff', '2016-08-09 07:36:03', '2016-08-09 07:36:03', '2016-08-25 00:00:00', 3, '17:00:00', '20:00:00', 75);
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_PRODUITS`
- --
- CREATE TABLE `DEN_PRODUITS` (
- `id` int(11) NOT NULL,
- `libelle` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `description` longtext COLLATE utf8_unicode_ci,
- `prix` double NOT NULL,
- `onLine` tinyint(1) NOT NULL,
- `dispo` tinyint(1) NOT NULL,
- `categorie_id` int(11) NOT NULL,
- `quantite` int(11) NOT NULL,
- `image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `tva_id` int(11) NOT NULL,
- `creation` datetime NOT NULL,
- `maj` datetime NOT NULL
- ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Contenu de la table `DEN_PRODUITS`
- --
- INSERT INTO `DEN_PRODUITS` (`id`, `libelle`, `description`, `prix`, `onLine`, `dispo`, `categorie_id`, `quantite`, `image`, `tva_id`, `creation`, `maj`) VALUES
- (1, 'Carton 50m3', 'Tous les Carton 50 m3', 100, 1, 1, 1, 10, 'carton.jpg', 1, '2016-07-16 14:23:32', '2016-07-16 16:33:02'),
- (2, 'Carton 100m3', 'cARTON', 18, 1, 1, 1, 1, '100.jpg', 1, '2016-07-16 14:25:01', '2016-07-16 14:25:01');
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_USERS`
- --
- CREATE TABLE `DEN_USERS` (
- `id` int(11) NOT NULL,
- `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `username_canonical` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `email_canonical` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `enabled` tinyint(1) NOT NULL,
- `salt` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `last_login` datetime DEFAULT NULL,
- `locked` tinyint(1) NOT NULL,
- `expired` tinyint(1) NOT NULL,
- `expires_at` datetime DEFAULT NULL,
- `confirmation_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `password_requested_at` datetime DEFAULT NULL,
- `roles` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:array)',
- `credentials_expired` tinyint(1) NOT NULL,
- `credentials_expire_at` datetime DEFAULT NULL,
- `nom` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `prenom` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `civilite` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `telephone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `sign_in_date` datetime DEFAULT NULL
- ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Contenu de la table `DEN_USERS`
- --
- INSERT INTO `DEN_USERS` (`id`, `username`, `username_canonical`, `email`, `email_canonical`, `enabled`, `salt`, `password`, `last_login`, `locked`, `expired`, `expires_at`, `confirmation_token`, `password_requested_at`, `roles`, `credentials_expired`, `credentials_expire_at`, `nom`, `prenom`, `civilite`, `telephone`, `sign_in_date`) VALUES
- (1, 'patricx', 'patricx', 'mail@mail.com', 'mail@mail.com', 1, 'qo2p4w63kms8ckg0s440w4ss4sc8kw8', '$2y$13$qo2p4w63kms8ckg0s440wuvCa38yfQCKuPZEyg711EaWnBd/JS/R2', '2016-08-09 07:24:29', 0, 0, NULL, NULL, NULL, 'a:1:{i:0;s:10:"ROLE_ADMIN";}', 0, NULL, 'achille', 'SIMO', '2', '0967453425', NULL),
- (2, 'jjk', 'jjk', 'jjk@mail.com', 'jjk@mail.com', 1, 'jj5m91flm00go44g80k0w4gskskwk0c', '$2y$13$jj5m91flm00go44g80k0wucfqAShIUSmbiFbNXj612zJZz5/SRNJa', '2016-05-10 16:07:48', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'jean', 'Jacques', '1', '0967453425', NULL),
- (3, 'Jules', 'jules', 'jules@jules.com', 'jules@jules.com', 1, '445p6l80zdc0wgow4w4wwo8sckswwso', '$2y$13$445p6l80zdc0wgow4w4wweU1kckgfrGcj3dRqVhYdcs2elNJzhvRW', '2016-06-05 14:11:42', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'jules', 'jules', '1', '0754342514', NULL),
- (4, 'marie', 'marie', 'marie@marie.com', 'marie@marie.com', 1, 'plh94m9e8kgksg4ggk0kkockg8co0sw', '$2y$13$plh94m9e8kgksg4ggk0kkeWYqDNYzj9s3Lz3lJRXwp6ZD9BtKBXmy', '2017-06-05 16:31:16', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'marie', 'marie', '2', '0967453425', NULL);
- -- --------------------------------------------------------
- --
- -- Structure de la table `DEN_USERS_USERS_GROUPS`
- --
- CREATE TABLE `DEN_USERS_USERS_GROUPS` (
- `user_id` int(11) NOT NULL,
- `group_id` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- -- --------------------------------------------------------
- --
- -- Structure de la table `recherche`
- --
- CREATE TABLE `recherche` (
- `id` int(11) NOT NULL,
- `depart` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `arrivee` varchar(255) COLLATE utf8_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
- --
- -- Index pour les tables exportées
- --
- --
- -- Index pour la table `DEN_COMMANDES`
- --
- ALTER TABLE `DEN_COMMANDES`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `UNIQ_81BEB01E9B48A2D0` (`demenagement_id`),
- ADD UNIQUE KEY `UNIQ_81BEB01EC4A1BF66` (`nettoyage_id`),
- ADD KEY `IDX_81BEB01EA76ED395` (`user_id`);
- --
- -- Index pour la table `DEN_DEMENAGEMENTS`
- --
- ALTER TABLE `DEN_DEMENAGEMENTS`
- ADD PRIMARY KEY (`id`);
- --
- -- Index pour la table `DEN_GROUPS`
- --
- ALTER TABLE `DEN_GROUPS`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `UNIQ_B8039F305E237E06` (`name`);
- --
- -- Index pour la table `DEN_NETTOYAGES`
- --
- ALTER TABLE `DEN_NETTOYAGES`
- ADD PRIMARY KEY (`id`);
- --
- -- Index pour la table `DEN_PRODUITS`
- --
- ALTER TABLE `DEN_PRODUITS`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `UNIQ_DF0BDA50A4D60759` (`libelle`);
- --
- -- Index pour la table `DEN_USERS`
- --
- ALTER TABLE `DEN_USERS`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `UNIQ_C813AE6E92FC23A8` (`username_canonical`),
- ADD UNIQUE KEY `UNIQ_C813AE6EA0D96FBF` (`email_canonical`);
- --
- -- Index pour la table `DEN_USERS_USERS_GROUPS`
- --
- ALTER TABLE `DEN_USERS_USERS_GROUPS`
- ADD PRIMARY KEY (`user_id`,`group_id`),
- ADD KEY `IDX_C6F0F8B2A76ED395` (`user_id`),
- ADD KEY `IDX_C6F0F8B2FE54D947` (`group_id`);
- --
- -- Index pour la table `recherche`
- --
- ALTER TABLE `recherche`
- ADD PRIMARY KEY (`id`);
- --
- -- AUTO_INCREMENT pour les tables exportées
- --
- --
- -- AUTO_INCREMENT pour la table `DEN_COMMANDES`
- --
- ALTER TABLE `DEN_COMMANDES`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=15;
- --
- -- AUTO_INCREMENT pour la table `DEN_DEMENAGEMENTS`
- --
- ALTER TABLE `DEN_DEMENAGEMENTS`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=14;
- --
- -- AUTO_INCREMENT pour la table `DEN_GROUPS`
- --
- ALTER TABLE `DEN_GROUPS`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT pour la table `DEN_NETTOYAGES`
- --
- ALTER TABLE `DEN_NETTOYAGES`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
- --
- -- AUTO_INCREMENT pour la table `DEN_PRODUITS`
- --
- ALTER TABLE `DEN_PRODUITS`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
- --
- -- AUTO_INCREMENT pour la table `DEN_USERS`
- --
- ALTER TABLE `DEN_USERS`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
- --
- -- AUTO_INCREMENT pour la table `recherche`
- --
- ALTER TABLE `recherche`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
- --
- -- Contraintes pour les tables exportées
- --
- --
- -- Contraintes pour la table `DEN_COMMANDES`
- --
- ALTER TABLE `DEN_COMMANDES`
- ADD CONSTRAINT `FK_81BEB01E9B48A2D0` FOREIGN KEY (`demenagement_id`) REFERENCES `DEN_DEMENAGEMENTS` (`id`),
- ADD CONSTRAINT `FK_81BEB01EA76ED395` FOREIGN KEY (`user_id`) REFERENCES `DEN_USERS` (`id`),
- ADD CONSTRAINT `FK_81BEB01EC4A1BF66` FOREIGN KEY (`nettoyage_id`) REFERENCES `DEN_NETTOYAGES` (`id`);
- --
- -- Contraintes pour la table `DEN_USERS_USERS_GROUPS`
- --
- ALTER TABLE `DEN_USERS_USERS_GROUPS`
- ADD CONSTRAINT `FK_C6F0F8B2A76ED395` FOREIGN KEY (`user_id`) REFERENCES `DEN_USERS` (`id`),
- ADD CONSTRAINT `FK_C6F0F8B2FE54D947` FOREIGN KEY (`group_id`) REFERENCES `DEN_GROUPS` (`id`);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement