[jboss-svn-commits] JBL Code SVN: r5866 - labs/jbossesb/trunk/product/docs/Install/database
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Aug 14 08:57:05 EDT 2006
Author: kurt.stam at jboss.com
Date: 2006-08-14 08:57:03 -0400 (Mon, 14 Aug 2006)
New Revision: 5866
Modified:
labs/jbossesb/trunk/product/docs/Install/database/JBossESB-DB-MySQL.sql
Log:
updated version so the loanbrokerdemo works
Modified: labs/jbossesb/trunk/product/docs/Install/database/JBossESB-DB-MySQL.sql
===================================================================
--- labs/jbossesb/trunk/product/docs/Install/database/JBossESB-DB-MySQL.sql 2006-08-14 12:45:21 UTC (rev 5865)
+++ labs/jbossesb/trunk/product/docs/Install/database/JBossESB-DB-MySQL.sql 2006-08-14 12:57:03 UTC (rev 5866)
@@ -1,126 +1,159 @@
-- MySQL dump 10.10
--
--- Host: localhost Database: rosetta
+-- Host: localhost Database: jbossesb
-- ------------------------------------------------------
-- Server version 5.0.22-community-nt
+
+/*!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 latin1 */;
/*!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,POSTGRESQL' */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
--- Current Database: "rosetta"
+-- Current Database: `jbossesb`
--
-/*!40000 DROP DATABASE IF EXISTS "rosetta"*/;
+/*!40000 DROP DATABASE IF EXISTS `jbossesb`*/;
-CREATE DATABASE /*!32312 IF NOT EXISTS*/ "rosetta" /*!40100 DEFAULT CHARACTER SET latin1 */;
+CREATE DATABASE /*!32312 IF NOT EXISTS*/ `jbossesb` /*!40100 DEFAULT CHARACTER SET latin1 */;
-USE "rosetta";
+USE `jbossesb`;
--
--- Table structure for table "batches"
+-- Table structure for table `batches`
--
-DROP TABLE IF EXISTS "batches";
-CREATE TABLE "batches" (
- "batch_num" bigint(20) NOT NULL,
- "seq" int(11) NOT NULL,
- "data" text,
- PRIMARY KEY ("batch_num","seq")
-);
+DROP TABLE IF EXISTS `batches`;
+CREATE TABLE `batches` (
+ `batch_num` bigint(20) NOT NULL,
+ `seq` int(11) NOT NULL,
+ `data` text,
+ PRIMARY KEY (`batch_num`,`seq`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
--- Dumping data for table "batches"
+-- Dumping data for table `batches`
--
-/*!40000 ALTER TABLE "batches" DISABLE KEYS */;
-LOCK TABLES "batches" WRITE;
+/*!40000 ALTER TABLE `batches` DISABLE KEYS */;
+LOCK TABLES `batches` WRITE;
UNLOCK TABLES;
-/*!40000 ALTER TABLE "batches" ENABLE KEYS */;
+/*!40000 ALTER TABLE `batches` ENABLE KEYS */;
--
--- Table structure for table "object_snap"
+-- Table structure for table `customer_index`
--
-DROP TABLE IF EXISTS "object_snap";
-CREATE TABLE "object_snap" (
- "uid" bigint(20) NOT NULL,
- "stamp" bigint(20) default NULL,
- "snap_type" text,
- "object_uid" bigint(20) default NULL,
- "batch_num" bigint(20) default NULL,
- "xml_data" text,
- PRIMARY KEY ("uid"),
- KEY "ix1_object_snap" ("batch_num","uid")
-);
+DROP TABLE IF EXISTS `customer_index`;
+CREATE TABLE `customer_index` (
+ `uid` bigint(20) unsigned NOT NULL default '0',
+ `stamp` bigint(20) unsigned default NULL,
+ `latest_snap_uid` bigint(20) unsigned default NULL,
+ `latest_snap_date` text,
+ `name` text,
+ `phone` text,
+ `address` text,
+ PRIMARY KEY (`uid`),
+ UNIQUE KEY `customer_index_pkey` (`uid`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
--- Dumping data for table "object_snap"
+-- Table structure for table `object_snap`
--
+DROP TABLE IF EXISTS `object_snap`;
+CREATE TABLE `object_snap` (
+ `uid` bigint(20) NOT NULL,
+ `stamp` bigint(20) default NULL,
+ `snap_type` text,
+ `object_uid` bigint(20) default NULL,
+ `batch_num` bigint(20) default NULL,
+ `xml_data` text,
+ PRIMARY KEY (`uid`),
+ KEY `ix1_object_snap` (`batch_num`,`uid`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40000 ALTER TABLE "object_snap" DISABLE KEYS */;
-LOCK TABLES "object_snap" WRITE;
-UNLOCK TABLES;
-/*!40000 ALTER TABLE "object_snap" ENABLE KEYS */;
+--
+-- Dumping data for table `object_snap`
+--
+
--
--- Table structure for table "people_index"
+-- Table structure for table `people_index`
--
-DROP TABLE IF EXISTS "people_index";
-CREATE TABLE "people_index" (
- "uid" bigint(20) NOT NULL,
- "stamp" bigint(20) default NULL,
- "latest_snap_uid" bigint(20) default NULL,
- "latest_snap_date" text,
- "name" text,
- "phone" text,
- "address" text,
- PRIMARY KEY ("uid")
-);
+DROP TABLE IF EXISTS `people_index`;
+CREATE TABLE `people_index` (
+ `uid` bigint(20) NOT NULL,
+ `stamp` bigint(20) default NULL,
+ `latest_snap_uid` bigint(20) default NULL,
+ `latest_snap_date` text,
+ `name` text,
+ `phone` text,
+ `address` text,
+ PRIMARY KEY (`uid`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
--- Dumping data for table "people_index"
+-- Dumping data for table `people_index`
--
-/*!40000 ALTER TABLE "people_index" DISABLE KEYS */;
-LOCK TABLES "people_index" WRITE;
-UNLOCK TABLES;
-/*!40000 ALTER TABLE "people_index" ENABLE KEYS */;
+--
+-- Table structure for table `test_poll_table`
+--
+DROP TABLE IF EXISTS `test_poll_table`;
+CREATE TABLE `test_poll_table` (
+ `src` text,
+ `ref` text,
+ `msg` text,
+ `val1` text,
+ `val2` text,
+ `status` text
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+
--
--- Table structure for table "uid_table"
+-- Dumping data for table `test_poll_table`
--
-DROP TABLE IF EXISTS "uid_table";
-CREATE TABLE "uid_table" (
- "uid" int(11) NOT NULL,
- "sequence_name" text NOT NULL,
- "last_used_uid" bigint(20) NOT NULL,
- PRIMARY KEY ("uid"),
- UNIQUE KEY "ix1_uid_table" ("sequence_name"(767))
-);
--
--- Dumping data for table "uid_table"
+-- Table structure for table `uid_table`
--
+DROP TABLE IF EXISTS `uid_table`;
+CREATE TABLE `uid_table` (
+ `uid` int(11) NOT NULL,
+ `sequence_name` text NOT NULL,
+ `last_used_uid` bigint(20) NOT NULL,
+ PRIMARY KEY (`uid`),
+ UNIQUE KEY `ix1_uid_table` (`sequence_name`(767))
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40000 ALTER TABLE "uid_table" DISABLE KEYS */;
-LOCK TABLES "uid_table" WRITE;
-INSERT INTO "uid_table" ("uid", "sequence_name", "last_used_uid") VALUES (1,'jbossEsb_objuid',10500000),(2,'jbossEsb_batchuid',251000);
+--
+-- Dumping data for table `uid_table`
+--
+
+
+/*!40000 ALTER TABLE `uid_table` DISABLE KEYS */;
+LOCK TABLES `uid_table` WRITE;
+INSERT INTO `uid_table` (`uid`, `sequence_name`, `last_used_uid`) VALUES (1,'jbossEsb_objuid',10501100),(2,'jbossEsb_batchuid',251000);
UNLOCK TABLES;
-/*!40000 ALTER TABLE "uid_table" ENABLE KEYS */;
+/*!40000 ALTER TABLE `uid_table` ENABLE KEYS */;
/*!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 */;
-/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-
+/*!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 */;
\ No newline at end of file
More information about the jboss-svn-commits
mailing list