-
Notifications
You must be signed in to change notification settings - Fork 0
/
users.sql
49 lines (41 loc) · 1.45 KB
/
users.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
-- phpMyAdmin SQL Dump
-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Nov 01, 2017 at 05:11 AM
-- Server version: 5.5.27
-- PHP Version: 5.4.7
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: `vehicle_reg`
--
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`userId` int(11) NOT NULL AUTO_INCREMENT,
`userName` varchar(30) NOT NULL,
`userEmail` varchar(60) NOT NULL,
`contact_Address` varchar(200) NOT NULL,
`userPhone` varchar(20) NOT NULL,
`occupation` varchar(50) NOT NULL,
`dlicenceReg` varchar(50) NOT NULL,
`vehicle_Name` varchar(50) NOT NULL,
`vehicle_Model` varchar(50) NOT NULL,
`vehicle_regNumber` varchar(50) NOT NULL,
`vehicle_Engine` varchar(50) NOT NULL,
`vehiclePlate` varchar(20) NOT NULL,
`validationNumber` varchar(50) NOT NULL,
PRIMARY KEY (`userId`),
UNIQUE KEY `userEmail` (`userEmail`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
/*!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 */;