0byt3m1n1
Path:
/
data
/
20
/
2
/
92
/
64
/
2907390
/
meta
/
3207486
/
mysql.backup
/
[
Home
]
File: landingem.mysqlcluster1.bak.sql
-- MySQL dump 10.13 Distrib 5.6.24, for Linux (x86_64) -- -- Host: mysqlcluster1 Database: landingem -- ------------------------------------------------------ -- Server version 5.6.32-78.1-56-log /*!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 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `Usuario` -- DROP TABLE IF EXISTS `Usuario`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `Usuario` ( `idUsuario` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(45) DEFAULT NULL, `apellido` varchar(45) DEFAULT NULL, `correo` varchar(45) DEFAULT NULL, `password` varchar(45) DEFAULT NULL, PRIMARY KEY (`idUsuario`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `Usuario` -- LOCK TABLES `Usuario` WRITE; /*!40000 ALTER TABLE `Usuario` DISABLE KEYS */; /*!40000 ALTER TABLE `Usuario` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `categorias` -- DROP TABLE IF EXISTS `categorias`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `categorias` ( `idCategoria` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(45) DEFAULT NULL, `descripcion` varchar(255) DEFAULT NULL, PRIMARY KEY (`idCategoria`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `categorias` -- LOCK TABLES `categorias` WRITE; /*!40000 ALTER TABLE `categorias` DISABLE KEYS */; INSERT INTO `categorias` VALUES (2,'categoria1',''),(4,'soportes',''); /*!40000 ALTER TABLE `categorias` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `clientes` -- DROP TABLE IF EXISTS `clientes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `clientes` ( `idCliente` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(45) DEFAULT NULL, `direccion` varchar(45) DEFAULT NULL, `email` varchar(45) DEFAULT NULL, `telefono` varchar(30) DEFAULT NULL, `ciudad` varchar(45) DEFAULT NULL, PRIMARY KEY (`idCliente`) ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `clientes` -- LOCK TABLES `clientes` WRITE; /*!40000 ALTER TABLE `clientes` DISABLE KEYS */; INSERT INTO `clientes` VALUES (2,'Luis','calle21','l.david1929@gmail.com','1121231','medellin'),(7,'John','','jhondario.09@gmail.com','',''),(8,'Jaim','cra 45','jaime@el.com','23915030','Medellin'),(14,'Mauricio Hernández','Calle 88 AA Sur # 50 - 90','mauricioantoni@gmail.com','3216161055','La Estrella'),(15,'','','','',''),(16,'Mauricio','cll 39 sur 25 b 130','maox21@gmail.com','3217834570','envigado'); /*!40000 ALTER TABLE `clientes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `compras` -- DROP TABLE IF EXISTS `compras`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `compras` ( `idcompra` int(11) NOT NULL AUTO_INCREMENT, `fechapedido` datetime DEFAULT NULL, `clientes_idCliente` int(11) NOT NULL, `total` float DEFAULT NULL, `mensaje` longtext, `despacho` tinyint(1) DEFAULT NULL, PRIMARY KEY (`idcompra`), KEY `fk_facturas_clientes_idx` (`clientes_idCliente`), CONSTRAINT `fk_facturas_clientes` FOREIGN KEY (`clientes_idCliente`) REFERENCES `clientes` (`idCliente`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `compras` -- LOCK TABLES `compras` WRITE; /*!40000 ALTER TABLE `compras` DISABLE KEYS */; INSERT INTO `compras` VALUES (23,'2015-11-15 08:00:03',14,0,'Por favor contactarse con migo para hacer 4 soportes de gafas: 1 color verde, 2 naranjas y 1 Amarillo',0),(25,'2015-11-15 10:00:02',14,0,'2 soportes color verde',0),(32,'2015-11-15 17:24:05',7,0,'Matera bulbasaur roja',0),(33,'2015-11-19 21:13:57',15,0,'',0),(34,'2015-11-19 22:23:49',15,0,'',0),(37,'2015-11-21 12:47:38',16,0,'verde agua marina',0); /*!40000 ALTER TABLE `compras` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `detallecompra` -- DROP TABLE IF EXISTS `detallecompra`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `detallecompra` ( `idDetalleCompra` int(11) NOT NULL AUTO_INCREMENT, `productos_idProducto` int(11) NOT NULL, `cantidad` int(11) DEFAULT NULL, `compras_idcompras` int(11) NOT NULL, PRIMARY KEY (`idDetalleCompra`), KEY `fk_detallefactura_productos1_idx` (`productos_idProducto`), KEY `fk_detallecompra_compras1_idx` (`compras_idcompras`), CONSTRAINT `fk_detallecompra_compras1` FOREIGN KEY (`compras_idcompras`) REFERENCES `compras` (`idcompra`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_detallefactura_productos1` FOREIGN KEY (`productos_idProducto`) REFERENCES `productos` (`idProducto`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `detallecompra` -- LOCK TABLES `detallecompra` WRITE; /*!40000 ALTER TABLE `detallecompra` DISABLE KEYS */; INSERT INTO `detallecompra` VALUES (23,25,4,23),(25,25,2,25),(32,28,3,32),(33,25,0,33),(34,25,0,34),(37,37,1,37); /*!40000 ALTER TABLE `detallecompra` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `productos` -- DROP TABLE IF EXISTS `productos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `productos` ( `idProducto` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(45) NOT NULL, `precio` float NOT NULL, `stock` int(11) DEFAULT NULL, `oferta` float DEFAULT NULL, `imagen` varchar(255) DEFAULT NULL, `categorias_idCategorias` int(11) NOT NULL, `preciodes` float DEFAULT NULL, PRIMARY KEY (`idProducto`), KEY `fk_productos_categorias1_idx` (`categorias_idCategorias`), CONSTRAINT `fk_productos_categorias1` FOREIGN KEY (`categorias_idCategorias`) REFERENCES `categorias` (`idCategoria`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `productos` -- LOCK TABLES `productos` WRITE; /*!40000 ALTER TABLE `productos` DISABLE KEYS */; INSERT INTO `productos` VALUES (25,'Soporte para gafas',0,-17,0,'soporteGafas.jpg',2,0),(28,'Matera pokemon bulbasaur',0,-10,0,'matera.jpg',2,0),(37,'Soporte para Celular',0,-1,0,'soporteCelular2.jpg',2,0),(39,'Matera Triangular',0,0,0,'Screen Shot 2015-11-20 at 11.51.17 AM.png',2,0); /*!40000 ALTER TABLE `productos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `suscriptores` -- DROP TABLE IF EXISTS `suscriptores`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `suscriptores` ( `idsuscriptores` int(11) NOT NULL AUTO_INCREMENT, `correo` varchar(45) DEFAULT NULL, PRIMARY KEY (`idsuscriptores`) ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `suscriptores` -- LOCK TABLES `suscriptores` WRITE; /*!40000 ALTER TABLE `suscriptores` DISABLE KEYS */; INSERT INTO `suscriptores` VALUES (13,'l.david1929@gmail.com'),(14,'l.david1929@hotmail.com'),(16,'mauricioantoni@gmail.com'),(19,''),(20,''),(22,''),(23,'javi.cefit@gmail.com'),(26,'estefan_ya@hotmail.com'); /*!40000 ALTER TABLE `suscriptores` ENABLE KEYS */; UNLOCK TABLES; -- -- Dumping routines for database 'landingem' -- /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!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 */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2016-12-30 7:22:06
© 2017 -
ZeroByte.ID
.