-
Notifications
You must be signed in to change notification settings - Fork 2
/
localhost.sql
83 lines (64 loc) · 2.11 KB
/
localhost.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
-- phpMyAdmin SQL Dump
-- version 4.0.4.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 02, 2020 at 04:58 AM
-- Server version: 5.5.20
-- PHP Version: 5.4.17
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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 utf8 */;
--
-- Database: `travel`
--
CREATE DATABASE IF NOT EXISTS `travel` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `travel`;
-- --------------------------------------------------------
--
-- Table structure for table `destination`
--
CREATE TABLE IF NOT EXISTS `destination` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`price` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `destination`
--
INSERT INTO `destination` (`id`, `name`, `price`) VALUES
(1, 'Delhi', 300),
(2, 'Agra', 150),
(3, 'Mathura', 25),
(4, 'Vrindavan', 15),
(5, 'Barsana', 50),
(6, 'Chaumuhan', 7);
-- --------------------------------------------------------
--
-- Table structure for table `pass`
--
CREATE TABLE IF NOT EXISTS `pass` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
`email` varchar(100) NOT NULL,
`contact` varchar(13) NOT NULL,
`date` date NOT NULL,
`dest` text NOT NULL,
`paid` float NOT NULL,
`password` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=108 ;
--
-- Dumping data for table `pass`
--
INSERT INTO `pass` (`id`, `name`, `email`, `contact`, `date`, `dest`, `paid`, `password`) VALUES
(104, 'test1', '[email protected]', '1234567', '2019-12-07', 'Agra', 1200, 'abcd'),
(107, 'test2', '[email protected]', 'jlj', '2019-12-01', 'Agra', 0, '12345');
/*!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 */;