NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: Apr 18, 2019 at 04:13 PM
-- Server version: 5.7.25
-- PHP Version: 7.3.1

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

--
-- Database: `cite_de_la_culture`
--

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

--
-- Table structure for table `reservation`
--

CREATE TABLE `reservation` (
`id_reservation` int(11) NOT NULL,
`titreReservation` varchar(30) NOT NULL,
`id_user` int(11) NOT NULL,
`id_salle` int(11) NOT NULL,
`id_evenement` int(11) NOT NULL,
`date_debut` datetime NOT NULL,
`date_fin` datetime NOT NULL,
`etat` enum('En cours','Approuvé','Réfusé','') DEFAULT 'En cours',
`description` longtext NOT NULL,
`image` varchar(30) NOT NULL,
`tel` varchar(8) NOT NULL,
`mail` varchar(50) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `reservation`
--

INSERT INTO `reservation` (`id_reservation`, `titreReservation`, `id_user`, `id_salle`, `id_evenement`, `date_debut`, `date_fin`, `etat`, `description`, `image`, `tel`, `mail`, `visible`) VALUES
(5, 'aaa', 126, 4, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00', 'Approuvé', 'xx', 'jjjj', '987890', '[email protected]', 1),
(8, 'exem', 126, 4, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00', 'Approuvé', 'ggg', '5cb868a238884.png', '987890', '[email protected]', 1),
(9, 'exemple', 128, 4, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00', 'Réfusé', 'ddd', '5cb872b533719.png', '987890', '[email protected]', 1),
(10, 'exemple', 126, 5, 1, '2014-01-01 00:00:00', '2014-01-01 00:00:00', 'En cours', 'hh', '5cb87335bb8e6.png', '987890', '[email protected]', 1);

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

--
-- Table structure for table `salle`
--

CREATE TABLE `salle` (
`id_salle` int(11) NOT NULL,
`ref` varchar(30) NOT NULL,
`capacite` int(11) NOT NULL,
`type` enum('cinema','theatre','musique','gallerie') NOT NULL,
`disponible` tinyint(1) NOT NULL DEFAULT '1',
`visible` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `salle`
--

INSERT INTO `salle` (`id_salle`, `ref`, `capacite`, `type`, `disponible`, `visible`) VALUES
(4, 'M1', 99999, 'musique', 0, 1),
(5, 'M2', 78, 'musique', 1, 1),
(6, 'C1', 600, 'cinema', 1, 1),
(7, 'C3', 56, 'cinema', 1, 1),
(8, 'C2', 60, 'cinema', 0, 1),
(9, 'M2', 87, 'musique', 1, 1),
(10, 'T2', 60, 'theatre', 1, 1),
(11, 'M4', 56, 'musique', 1, 1);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `reservation`
--
ALTER TABLE `reservation`
ADD PRIMARY KEY (`id_reservation`),
ADD KEY `id_salle` (`id_salle`),
ADD KEY `id_salle_2` (`id_salle`,`id_evenement`),
ADD KEY `id_evenement` (`id_evenement`),
ADD KEY `id_user` (`id_user`);

--
-- Indexes for table `salle`
--
ALTER TABLE `salle`
ADD PRIMARY KEY (`id_salle`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `reservation`
--
ALTER TABLE `reservation`
MODIFY `id_reservation` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `salle`
--
ALTER TABLE `salle`
MODIFY `id_salle` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `reservation`
--
ALTER TABLE `reservation`
ADD CONSTRAINT `reservation_ibfk_1` FOREIGN KEY (`id_salle`) REFERENCES `salle` (`id_salle`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `reservation_ibfk_2` FOREIGN KEY (`id_evenement`) REFERENCES `evenement` (`id_evenement`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `reservation_ibfk_3` FOREIGN KEY (`id_user`) REFERENCES `fos_user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.