workflow-monitoring-util/conf/monitor_schema.sql (23 lines of code) (raw):

/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * */ CREATE TABLE `faults` ( `id` int(11) NOT NULL auto_increment, `xml` blob NOT NULL, `workflowid` varchar(100) NOT NULL default '""', PRIMARY KEY (`id`), KEY `WORKFLOWID` (`workflowid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `summary` -- CREATE TABLE `summary` ( `workflowId` varchar(100) NOT NULL default '', `templateId` varchar(100) NOT NULL default '', `status` varchar(20) NOT NULL default '', `startTime` bigint(20) NOT NULL default '0', `endTime` bigint(20) default '0', `username` varchar(200) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; /*!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 */;