-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinaldb.sql
91 lines (73 loc) · 2.55 KB
/
finaldb.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
84
85
86
87
88
89
90
91
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Apr 19, 2019 at 05:21 PM
-- Server version: 5.7.24
-- PHP Version: 7.2.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `finaldb`
--
-- --------------------------------------------------------
--
-- Table structure for table `user_details`
--
DROP TABLE IF EXISTS `user_details`;
CREATE TABLE IF NOT EXISTS `user_details` (
`user_firstname` tinytext NOT NULL,
`user_lastname` tinytext NOT NULL,
`user_name` varchar(20) NOT NULL,
`user_password` tinytext NOT NULL,
`user_bdate` date NOT NULL,
`email` varchar(80) NOT NULL,
PRIMARY KEY (`user_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_details`
--
INSERT INTO `user_details` (`user_firstname`, `user_lastname`, `user_name`, `user_password`, `user_bdate`, `email`) VALUES
('Jeet', 'Shah', 'jeet_', 'Jeet@123', '2019-04-02', '[email protected]'),
('Shreyansh', 'shah', 'shreyansh_', 'shreya', '2019-04-03', '[email protected]'),
('Parth', 'PAtel', 'Parth_', 'Parth@123', '2019-04-03', '[email protected]'),
('shivam', 'lakhtariya', 'shivam', 'Shivam@123', '2019-04-01', '[email protected]');
-- --------------------------------------------------------
--
-- Table structure for table `user_messages`
--
DROP TABLE IF EXISTS `user_messages`;
CREATE TABLE IF NOT EXISTS `user_messages` (
`to_message` varchar(20) NOT NULL,
`from_message` varchar(20) NOT NULL,
`message_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`message` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `user_otp`
--
DROP TABLE IF EXISTS `user_otp`;
CREATE TABLE IF NOT EXISTS `user_otp` (
`user_name` varchar(20) NOT NULL,
`OTP` int(4) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_otp`
--
INSERT INTO `user_otp` (`user_name`, `OTP`) VALUES
('jeet_', 9133),
('shreyansh_', 8949),
('Parth_', 9133),
('shivam', 5151);
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 */;