|
|
|
-- phpMyAdmin SQL Dump
|
|
|
|
-- version 5.1.1
|
|
|
|
-- https://www.phpmyadmin.net/
|
|
|
|
--
|
|
|
|
-- Host: localhost
|
|
|
|
-- Generation Time: Oct 30, 2021 at 07:45 PM
|
|
|
|
-- Server version: 10.4.21-MariaDB
|
|
|
|
-- PHP Version: 8.0.10
|
|
|
|
|
|
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
|
|
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: `ticket`
|
|
|
|
--
|
|
|
|
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `logins`
|
|
|
|
--
|
|
|
|
|
|
|
|
CREATE TABLE `logins` (
|
|
|
|
`login` varchar(255) NOT NULL,
|
|
|
|
`pwd` varchar(255) NOT NULL
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Dumping data for table `logins`
|
|
|
|
--
|
|
|
|
|
|
|
|
INSERT INTO `logins` (`login`, `pwd`) VALUES
|
|
|
|
('prof', 'arthur'),
|
|
|
|
('referant', 'azerty');
|
|
|
|
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `pannes`
|
|
|
|
--
|
|
|
|
|
|
|
|
CREATE TABLE `pannes` (
|
|
|
|
`ID` int(11) NOT NULL,
|
|
|
|
`dates` date NOT NULL,
|
|
|
|
`details` text NOT NULL,
|
|
|
|
`lieu` text NOT NULL,
|
|
|
|
`salle` varchar(255) NOT NULL,
|
|
|
|
`pos` text NOT NULL,
|
|
|
|
`materiel` varchar(255) NOT NULL,
|
|
|
|
`marque` varchar(255) NOT NULL,
|
|
|
|
`model` varchar(255) NOT NULL,
|
|
|
|
`nserie` text NOT NULL,
|
|
|
|
`demandeur` text NOT NULL,
|
|
|
|
`traitement` tinyint(1) NOT NULL
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Dumping data for table `pannes`
|
|
|
|
--
|
|
|
|
|
|
|
|
INSERT INTO `pannes` (`ID`, `dates`, `details`, `lieu`, `salle`, `pos`, `materiel`, `marque`, `model`, `nserie`, `demandeur`, `traitement`) VALUES
|
|
|
|
(1, '2021-10-22', 'Bonjour de Bretagne', 'Bâtiment A', '42', 'au fond a gauche', 'pc', 'alienware', 'lattitude E6410', 'sefv-45-gd1', 'barraux', 0),
|
|
|
|
(4, '2021-10-23', 'sq@', 'FE', 'ds', 'QDGFDQ', 'UC', 'QGDF', 'FQG', 'QGZet', 'qgqre', 0),
|
|
|
|
(5, '2021-10-23', 'sq@', 'FE', 'ds', 'QDGFDQ', 'UC', 'QGDF', 'FQG', 'sgf', 'sef', 0),
|
|
|
|
(6, '2021-10-25', 'manque la dernière carte graphique', 'Locquirec', 'Ma chambre', 'Sur le lit', 'UC', 'Dell', 'LATITTUDE E6410', 'chai pas', 'BARRAUX', 0),
|
|
|
|
(7, '2021-10-28', 'pas d\'inspi', 'Locquirec', 'chambre 6', 'pas bougé', 'UC', 'Dell', 'flemme', 'je sais pas', 'Le Cocotier des mers', 0);
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Indexes for dumped tables
|
|
|
|
--
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Indexes for table `pannes`
|
|
|
|
--
|
|
|
|
ALTER TABLE `pannes`
|
|
|
|
ADD PRIMARY KEY (`ID`);
|
|
|
|
|
|
|
|
--
|
|
|
|
-- AUTO_INCREMENT for dumped tables
|
|
|
|
--
|
|
|
|
|
|
|
|
--
|
|
|
|
-- AUTO_INCREMENT for table `pannes`
|
|
|
|
--
|
|
|
|
ALTER TABLE `pannes`
|
|
|
|
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
|
|
|
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 */;
|