Skip to content
Snippets Groups Projects

Grebby - 13515018 - Alivia Dewi Parahita

Compare and Show latest version
1 file
+ 12
20
Preferences
Compare changes
+ 12
20
@@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
--
--
-- Host: localhost Database: localhost
-- Host: localhost Database: localhost
-- ------------------------------------------------------
-- ------------------------------------------------------
-- Server version 10.1.19-MariaDB
-- Server version 10.1.19-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -23,20 +23,20 @@ DROP TABLE IF EXISTS `order_history`;
@@ -23,20 +23,20 @@ DROP TABLE IF EXISTS `order_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `order_history` (
CREATE TABLE `order_history` (
 
`idHistory` int(11) NOT NULL AUTO_INCREMENT,
`driver_username` varchar(50) NOT NULL,
`driver_username` varchar(50) NOT NULL,
`customer_username` varchar(50) NOT NULL,
`customer_username` varchar(50) NOT NULL,
`picking_point` varchar(200) NOT NULL,
`picking_point` varchar(200) NOT NULL,
`destination` varchar(200) NOT NULL,
`destination` varchar(200) NOT NULL,
`rating` tinyint(4) NOT NULL,
`rating` tinyint(4) NOT NULL,
`comment` varchar(500) NOT NULL,
`comment` varchar(500) NOT NULL,
`date` date NOT NULL
`date` date NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
`customer_hidden` int(11) NOT NULL DEFAULT '0',
 
`driver_hidden` int(11) NOT NULL DEFAULT '0',
 
PRIMARY KEY (`idHistory`)
 
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `order_history`
--
--
--
-- Table structure for table `user`
-- Table structure for table `user`
--
--
@@ -60,11 +60,6 @@ CREATE TABLE `user` (
@@ -60,11 +60,6 @@ CREATE TABLE `user` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
--
--
-- Table structure for table `user_preferred_location`
-- Table structure for table `user_preferred_location`
--
--
@@ -73,16 +68,13 @@ DROP TABLE IF EXISTS `user_preferred_location`;
@@ -73,16 +68,13 @@ DROP TABLE IF EXISTS `user_preferred_location`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_preferred_location` (
CREATE TABLE `user_preferred_location` (
 
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`username` varchar(50) NOT NULL,
`preferred_location` varchar(200) NOT NULL,
`preferred_location` varchar(200) DEFAULT NULL,
`priority` int(11) NOT NULL
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_preferred_location`
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
@@ -93,4 +85,4 @@ CREATE TABLE `user_preferred_location` (
@@ -93,4 +85,4 @@ CREATE TABLE `user_preferred_location` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2017-10-02 20:58:34
-- Dump completed on 2017-10-07 16:51:47