Skip to content

Commit

Permalink
Db Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Gant committed Aug 30, 2011
1 parent b2c6cdf commit d406f5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions install/db-dump.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CREATE TABLE `wiki_menus` (
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
Expand All @@ -41,7 +41,7 @@ CREATE TABLE `wiki_menus` (

LOCK TABLES `wiki_menus` WRITE;
/*!40000 ALTER TABLE `wiki_menus` DISABLE KEYS */;
INSERT INTO `wiki_menus` VALUES (5,'Portada','Front','page',0,'blue','2011-08-30 00:28:04','2011-08-30 00:28:04');
INSERT INTO `wiki_menus` VALUES (5,'Portada','Front','page',0,'blue','2011-08-30 00:28:04','2011-08-31 00:40:35'),(104,'Menu 4','menu_4','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(105,'Menu 5','menu_5','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(106,'Menu 6','menu_6','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(107,'Menu 7','menu_7','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(108,'Menu 8','menu_8','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(109,'Menu 9','menu_9','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(110,'Menu 10','menu_10','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(111,'Menu 11','menu_11','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(112,'Menu 12','menu_12','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(113,'Menu 13','menu_13','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(114,'Menu 14','menu_14','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31'),(115,'Menu 15','menu_15','page',0,'silver','2011-08-30 23:50:31','2011-08-30 23:50:31');
/*!40000 ALTER TABLE `wiki_menus` ENABLE KEYS */;
UNLOCK TABLES;

Expand All @@ -66,7 +66,7 @@ CREATE TABLE `wiki_pages` (
`internal` tinyint(1) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `NewIndex1` (`alias`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
Expand All @@ -75,7 +75,7 @@ CREATE TABLE `wiki_pages` (

LOCK TABLES `wiki_pages` WRITE;
/*!40000 ALTER TABLE `wiki_pages` DISABLE KEYS */;
INSERT INTO `wiki_pages` VALUES (1,'Front','Portada','Esto es como la wikipedia\r\n\r\n* [Enlace 1]\r\n* [Enalce 2]\r\n',57,'',5,0,'2011-08-28 16:00:56','2011-08-28 16:00:56',0),(2,'Enlace_1','Enlace 1','Pongo el contenido\r\n\r\nmucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto \r\n\r\nmucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto \r\n\r\nmucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto \r\n\r\nmucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto \r\n\r\nmucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto mucho texto \r\n\r\n\r\n\r\nmucho texto mucho texto mucho texto ',4582,'',758,0,'2011-08-28 16:01:38','2011-08-28 16:01:38',0),(3,'Enalce_2','Enalce 2','adsd sd',7,'',1,0,'2011-08-28 16:02:10','2011-08-28 16:02:10',0);
INSERT INTO `wiki_pages` VALUES (1,'Front','Portada','Esto es como la wikipedia\r\n\r\n* [Enlace 1]\r\n* [Enalce 2]\r\n* [Menu_2]\r\n\r\nEsto es otra prueba:\r\n\r\n <?php\r\n $a = \"hola\";\r\n $res = mysql_query(\"SELECT * FROM users\");\r\n if($a){ print_r($res); }\r\n ?>\r\n\r\nOtra cosa\r\n\r\n SELECT * FROM usuario_empresa\r\n WHERE nombre = \"Jhon\"',285,'',25,0,'2011-08-28 16:00:56','2011-08-28 16:00:56',1),(2,'menu_0','Menu 0','',0,'',0,0,'2011-08-31 00:20:25','2011-08-31 00:20:25',0),(3,'menu_1','Menu 1','',0,'',0,0,'2011-08-31 00:20:28','2011-08-31 00:20:28',0),(4,'Menu_2','Menu 2','qweq weq we',11,'',1,0,'2011-08-31 00:20:31','2011-08-31 00:20:31',0),(5,'menu_3','Menu 3','',0,'',0,0,'2011-08-31 00:20:33','2011-08-31 00:20:33',0);
/*!40000 ALTER TABLE `wiki_pages` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
Expand All @@ -88,4 +88,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2011-08-30 0:35:25
-- Dump completed on 2011-08-31 1:12:22
6 changes: 3 additions & 3 deletions install/db-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CREATE TABLE `wiki_menus` (
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
Expand All @@ -56,7 +56,7 @@ CREATE TABLE `wiki_pages` (
`internal` tinyint(1) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `NewIndex1` (`alias`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

Expand All @@ -68,4 +68,4 @@ CREATE TABLE `wiki_pages` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2011-08-30 0:35:25
-- Dump completed on 2011-08-31 1:12:22

0 comments on commit d406f5d

Please sign in to comment.