adding sample db

master
Juan 3 years ago
parent 2563d24c17
commit f3156c3f46

@ -0,0 +1,72 @@
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 08, 2022 at 11:09 PM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27
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: `b1eval`
--
CREATE DATABASE IF NOT EXISTS `b1eval` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `b1eval`;
-- --------------------------------------------------------
--
-- Table structure for table `vol`
--
DROP TABLE IF EXISTS `vol`;
CREATE TABLE `vol` (
`id_vol` int(11) NOT NULL,
`de` varchar(255) NOT NULL,
`a` varchar(255) NOT NULL,
`via` varchar(255) NOT NULL,
`places` int(11) NOT NULL,
`reservations` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `vol`
--
INSERT INTO `vol` (`id_vol`, `de`, `a`, `via`, `places`, `reservations`) VALUES
(1, 'Prague', 'Cork', 'Rennes', 25, 11);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `vol`
--
ALTER TABLE `vol`
ADD PRIMARY KEY (`id_vol`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `vol`
--
ALTER TABLE `vol`
MODIFY `id_vol` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
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 */;
Loading…
Cancel
Save