Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.8.3
- -- https://www.phpmyadmin.net/
- --
- -- Host: localhost:8889
- -- Generation Time: Apr 24, 2019 at 02:50 PM
- -- Server version: 5.7.23
- -- PHP Version: 7.2.10
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- SET time_zone = "+00:00";
- --
- -- Database: `projet_annuel`
- --
- -- --------------------------------------------------------
- --
- -- Table structure for table `ENTREPRISE`
- --
- CREATE TABLE `ENTREPRISE` (
- `id_entreprise` int(11) NOT NULL,
- `email_entreprise` varchar(75) NOT NULL,
- `password` varchar(550) NOT NULL,
- `nom_entreprise` varchar(100) NOT NULL,
- `statut` varchar(100) NOT NULL,
- `adresse` varchar(200) NOT NULL,
- `description` varchar(300) DEFAULT NULL,
- `numero_siret` varchar(15) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- --
- -- Dumping data for table `ENTREPRISE`
- --
- INSERT INTO `ENTREPRISE` (`id_entreprise`, `email_entreprise`, `password`, `nom_entreprise`, `statut`, `adresse`, `description`, `numero_siret`) VALUES
- (4, 'enefef@gmail.com', 'mdmdm', 'test', 'sasn', 'adresse', NULL, 'nnnnnnnnnnnnnn');
- -- --------------------------------------------------------
- --
- -- Table structure for table `INDIVIDU`
- --
- CREATE TABLE `INDIVIDU` (
- `id_individu` int(11) NOT NULL,
- `date_naissance` date DEFAULT NULL,
- `email_individu` varchar(75) NOT NULL,
- `password` varchar(450) NOT NULL,
- `nom` varchar(50) NOT NULL,
- `prenom` varchar(50) NOT NULL,
- `niveau_etudes` text NOT NULL,
- `experiences` text,
- `project` text,
- `centres_interets` text,
- `sexe` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- --
- -- Dumping data for table `INDIVIDU`
- --
- INSERT INTO `INDIVIDU` (`id_individu`, `date_naissance`, `email_individu`, `password`, `nom`, `prenom`, `niveau_etudes`, `experiences`, `project`, `centres_interets`, `sexe`) VALUES
- (25, NULL, 'test@gmaddil.com', 'moeo', 'testnn', 'teste', 'sans_bac', NULL, NULL, NULL, 1),
- (26, NULL, 'testdd@gmail.com', 'moeo', 'test', 'test', 'bac12', NULL, NULL, NULL, 1),
- (27, NULL, 'tddddest@gmail.com', 'moeo', 'test', 'test', 'bac', NULL, NULL, NULL, 1);
- -- --------------------------------------------------------
- --
- -- Table structure for table `QUESTION`
- --
- CREATE TABLE `QUESTION` (
- `id_question` int(11) NOT NULL,
- `question` varchar(500) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- --
- -- Dumping data for table `QUESTION`
- --
- INSERT INTO `QUESTION` (`id_question`, `question`) VALUES
- (2, 'Le matin votre objectif est de ...:'),
- (3, 'Votre patron vous annonce à la dernière minute qu’il y a une réunion importante demain. Votre réaction :'),
- (5, 'L’essentiel pour vous d’une entreprise :');
- -- --------------------------------------------------------
- --
- -- Table structure for table `REPONSE`
- --
- CREATE TABLE `REPONSE` (
- `id_reponse` int(11) NOT NULL,
- `reponse` text NOT NULL,
- `fk_id_question` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- --
- -- Dumping data for table `REPONSE`
- --
- INSERT INTO `REPONSE` (`id_reponse`, `reponse`, `fk_id_question`) VALUES
- (1, 'Affirmer votre personnalité. Votre style reflète votre personnalité audacieuse et spontané', 2),
- (2, 'Être confortable et simple. L\'essentiel pour vous ne se trouve pas dans l\'apparence', 2),
- (3, 'Élegant et professionnel. Donner une bonne image de vus est essentiel.', 2),
- (4, 'Laisser libre cours à votre imagination, tout dépend de votre humeur.', 2),
- (5, 'Vous préférez penser à autre chose, vous décontracter et profiter de votre soirée', 3),
- (6, 'Vous vous demandez quel est le motif de la réunion et prenez ça à coeur. ', 3),
- (7, 'Sûr de vous, vous ne cédez pas à la panique, vous verrez demain. ', 3),
- (8, 'Vous vous préparez mentalement à la journée de demain en vous penchant sur le motif de la réunion.', 3),
- (13, 'Son évolution. Être dans une entreprise innovante en plein essor est essentiel pour vous. Vous avez soif de challenge et ne supportez pas la routine. ', 5),
- (14, 'L’ambiance entre collègues. Pour vous plaisanter, rire et partager des bons moments avec ses collègues est essentiel.', 5),
- (15, 'Son éthique. Leader altruiste dans l’âme il est primordial pour vous que l’entreprise et vous ayez les mêmes valeurs, dans le but de garantir un avenir prometteur', 5),
- (16, 'Son efficacité. Leaders hardis dotés d’un fort caractère pour vous rien n’est plus gratifiant que d’exceller dans votre boulot. ', 5);
- --
- -- Indexes for dumped tables
- --
- --
- -- Indexes for table `ENTREPRISE`
- --
- ALTER TABLE `ENTREPRISE`
- ADD PRIMARY KEY (`id_entreprise`);
- --
- -- Indexes for table `INDIVIDU`
- --
- ALTER TABLE `INDIVIDU`
- ADD PRIMARY KEY (`id_individu`);
- --
- -- Indexes for table `QUESTION`
- --
- ALTER TABLE `QUESTION`
- ADD PRIMARY KEY (`id_question`);
- --
- -- Indexes for table `REPONSE`
- --
- ALTER TABLE `REPONSE`
- ADD PRIMARY KEY (`id_reponse`),
- ADD KEY `fk_id_question` (`fk_id_question`);
- --
- -- AUTO_INCREMENT for dumped tables
- --
- --
- -- AUTO_INCREMENT for table `ENTREPRISE`
- --
- ALTER TABLE `ENTREPRISE`
- MODIFY `id_entreprise` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
- --
- -- AUTO_INCREMENT for table `INDIVIDU`
- --
- ALTER TABLE `INDIVIDU`
- MODIFY `id_individu` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
- --
- -- AUTO_INCREMENT for table `QUESTION`
- --
- ALTER TABLE `QUESTION`
- MODIFY `id_question` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
- --
- -- AUTO_INCREMENT for table `REPONSE`
- --
- ALTER TABLE `REPONSE`
- MODIFY `id_reponse` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
- --
- -- Constraints for dumped tables
- --
- --
- -- Constraints for table `REPONSE`
- --
- ALTER TABLE `REPONSE`
- ADD CONSTRAINT `reponse_ibfk_1` FOREIGN KEY (`fk_id_question`) REFERENCES `QUESTION` (`id_question`);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement