-
Notifications
You must be signed in to change notification settings - Fork 0
/
nebengers.sql
68 lines (55 loc) · 1.57 KB
/
nebengers.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
# Host: localhost (Version: 5.5.5-10.1.13-MariaDB)
# Date: 2016-11-29 19:33:05
# Generator: MySQL-Front 5.3 (Build 4.271)
/*!40101 SET NAMES latin1 */;
#
# Structure for table "driver"
#
DROP TABLE IF EXISTS `driver`;
CREATE TABLE `driver` (
`iddriver` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(40) NOT NULL,
`password` varchar(40) NOT NULL,
`email` varchar(25) NOT NULL,
`gender` varchar(1) NOT NULL,
`phone` varchar(15) NOT NULL,
`photo` varchar(100) NOT NULL,
PRIMARY KEY (`iddriver`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
#
# Data for table "driver"
#
#
# Structure for table "passenger"
#
DROP TABLE IF EXISTS `passenger`;
CREATE TABLE `passenger` (
`idpassenger` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(40) NOT NULL,
`email` varchar(25) NOT NULL,
`password` varchar(40) NOT NULL,
`gender` varchar(1) NOT NULL,
`phone` varchar(15) NOT NULL,
`photo` varchar(100) NOT NULL,
`register` date NOT NULL,
PRIMARY KEY (`idpassenger`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
#
# Data for table "passenger"
#
INSERT INTO `passenger` VALUES (1,'Akhmad Fauzan','[email protected]','c4ca4238a0b923820dcc509a6f75849b','M','2312132131','file_1480419270','2016-11-29');
#
# Structure for table "transaction"
#
DROP TABLE IF EXISTS `transaction`;
CREATE TABLE `transaction` (
`idtransc` int(11) NOT NULL,
`datetime` datetime NOT NULL,
`iddriver` int(11) NOT NULL,
`iduser` int(11) NOT NULL,
`rating` int(11) NOT NULL,
PRIMARY KEY (`idtransc`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
#
# Data for table "transaction"
#