-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa016be
commit cc5c14d
Showing
14 changed files
with
50 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
db.php | ||
.idea | ||
DS_Store | ||
public/assets/uploads/ | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,20 +103,6 @@ CREATE TABLE `galerie` ( | |
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Structure de la table `panier` | ||
-- | ||
|
||
CREATE TABLE `panier` ( | ||
`id` int(11) NOT NULL, | ||
`id_bouquet` int(11) DEFAULT NULL, | ||
`prix_total` float DEFAULT NULL, | ||
`id_user` int(11) NOT NULL, | ||
`date` date DEFAULT NULL | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Structure de la table `user` | ||
-- | ||
|
@@ -140,6 +126,22 @@ INSERT INTO `user` (`id`, `firstname`, `lastname`, `password`, `mail`, `role`, ` | |
(1, 'Client', 'CLIENT', '$2y$10$MMoyn41UdQUEcRbD9ksbiO0aOv4uM0lwmDLI8TkgYhIe2hKTJguKK', '[email protected]', 'client', NULL, '0203568956'), | ||
(2, 'Admin', 'SUPER', '$2y$10$i/jG7MGyAvlsGSLaq0NVQ.I7fdYfdcsQhRTu9pOaJfIhd5NLnY062', '[email protected]', 'admin', NULL, '0356895689'); | ||
|
||
|
||
---------------------------------------------------- | ||
|
||
-- | ||
-- Structure de la table `panier` | ||
-- | ||
|
||
CREATE TABLE `panier` ( | ||
`id` int(11) NOT NULL, | ||
`id_bouquet` int(11) DEFAULT NULL, | ||
`prix_total` float DEFAULT NULL, | ||
`id_user` int(11) NOT NULL, | ||
`date` date DEFAULT NULL | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | ||
|
||
|
||
-- | ||
-- Index pour les tables exportées | ||
-- | ||
|
@@ -186,19 +188,19 @@ ALTER TABLE `galerie` | |
ADD KEY `galerie_ibfk_1` (`id_bouquet`), | ||
ADD KEY `galerie_ibfk_2` (`id_catalogue_unitaire`); | ||
|
||
-- | ||
-- Index pour la table `user` | ||
-- | ||
ALTER TABLE `user` | ||
ADD PRIMARY KEY (`id`); | ||
|
||
-- | ||
-- Index pour la table `panier` | ||
-- | ||
ALTER TABLE `panier` | ||
ADD PRIMARY KEY (`id`), | ||
ADD KEY `id_user` (`id_user`); | ||
|
||
-- | ||
-- Index pour la table `user` | ||
-- | ||
ALTER TABLE `user` | ||
ADD PRIMARY KEY (`id`); | ||
|
||
-- | ||
-- AUTO_INCREMENT pour les tables exportées | ||
-- | ||
|
@@ -223,17 +225,18 @@ ALTER TABLE `catalogue_unitaire` | |
-- | ||
ALTER TABLE `galerie` | ||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; | ||
-- | ||
-- AUTO_INCREMENT pour la table `panier` | ||
-- | ||
ALTER TABLE `panier` | ||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; | ||
|
||
-- | ||
-- AUTO_INCREMENT pour la table `user` | ||
-- | ||
ALTER TABLE `user` | ||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; | ||
-- | ||
-- AUTO_INCREMENT pour la table `panier` | ||
-- | ||
ALTER TABLE `panier` | ||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; | ||
-- | ||
-- Contraintes pour les tables exportées | ||
-- | ||
|
||
|