-- MySQL dump 10.15  Distrib 10.0.9-MariaDB, for Linux (x86_64)
--
-- Host: localhost    Database: ym_admin_db
-- ------------------------------------------------------
-- Server version	10.0.9-MariaDB-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 `ym_tasks`
--

DROP TABLE IF EXISTS `ym_tasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ym_tasks` (
  `task_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `node_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `group_id` int(11) DEFAULT NULL,
  `database_id` int(11) DEFAULT NULL,
  `name` varchar(256) NOT NULL DEFAULT '',
  `type` tinyint(3) DEFAULT NULL,
  `enabled` tinyint(3) NOT NULL DEFAULT '1',
  `permisions` mediumint(8) NOT NULL DEFAULT '0',
  `creation_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `expiration_date` datetime DEFAULT NULL,
  `last_update` datetime DEFAULT NULL,
  `mutex` varchar(256) DEFAULT NULL,
  PRIMARY KEY (`task_id`),
  KEY `ymtasks_database` (`database_id`),
  KEY `ymtasks_node` (`node_id`),
  KEY `ymtasks_group` (`group_id`),
  KEY `ymtasks_user` (`user_id`),
  KEY `ymtasks_lastupdate` (`last_update`),
  KEY `ymtasks_mutex` (`mutex`),
  KEY `ymtasks_type` (`type`)
) ENGINE=TokuDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 `COMPRESSION`=TOKUDB_LZMA;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ym_tasks`
--

LOCK TABLES `ym_tasks` WRITE;
/*!40000 ALTER TABLE `ym_tasks` DISABLE KEYS */;
INSERT INTO `ym_tasks` VALUES (1,6,1,NULL,2,'Import Data',1,1,0,'2014-03-18 18:03:40',NULL,'2014-03-21 21:08:52','4229837:ase-compute-1:55481'),(2,5,1,NULL,2,'Import Data WITHOUT results',1,1,0,'2014-03-28 13:48:52',NULL,'2014-03-28 14:56:26',NULL);
/*!40000 ALTER TABLE `ym_tasks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ym_tasks_options`
--

DROP TABLE IF EXISTS `ym_tasks_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ym_tasks_options` (
  `task_id` int(10) unsigned NOT NULL DEFAULT '0',
  `field` varchar(256) NOT NULL DEFAULT '',
  `value` varchar(4096) DEFAULT NULL,
  KEY `ymtasksoptions_task` (`task_id`),
  KEY `ymtasksoptions_field` (`field`)
) ENGINE=TokuDB DEFAULT CHARSET=latin1 `COMPRESSION`=TOKUDB_LZMA;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ym_tasks_options`
--

LOCK TABLES `ym_tasks_options` WRITE;
/*!40000 ALTER TABLE `ym_tasks_options` DISABLE KEYS */;
INSERT INTO `ym_tasks_options` VALUES (1,'Title','Import Data'),(1,'DataPath','/data/nfsshare/datapump'),(1,'ScanSubFolders','NO'),(1,'SortBy','Time|Desc'),(1,'ImportFileExtensions','*.stdf.gz'),(1,'Frequency','7'),(1,'DayOfWeek','0'),(1,'Database','gexdb_ase'),(1,'DataType','0'),(1,'TestingStage',''),(1,'ExecWindow','NO'),(1,'StartTime','0,0'),(1,'StopTime','0,0'),(1,'PostImport','0'),(1,'PostImportFolder',''),(1,'PostImportFailure','0'),(1,'PostImportFailureFolder',''),(1,'PostImportDelay','0'),(1,'PostImportDelayFolder',''),(1,'CheckYield','NO'),(1,'YieldBins','1'),(1,'AlarmLevel','100'),(1,'MinimumParts','100'),(1,'Emails','ymadmin'),(1,'EmailFrom','Yield-Man@galaxysemi.com'),(1,'EmailFormat','HTML'),(1,'RejectSmallSplitlots_NbParts','-1'),(1,'RejectSmallSplitlots_Gdpw_Percent','-1'),(1,'ExecuteBatchAfterInsertion','NO'),(1,'BatchToExecuteAfterInsertion',''),(1,'MaxPartsForTestResultInsertion','-1'),(1,'RejectFilesOnPassBinlist','NO'),(1,'PassBinlistForRejectTest','1'),(1,'PostScript','/*\nEnter here any JavaScript codes you\'d like to run after processing. \nMost of the singleton objects available in the GS JS API are available. \n*/'),(1,'PostScriptActivated','false'),(1,'PreScript','/*\nEnter here any JavaScript codes you\'d like to run just before insertion. \nMost of the singleton objects available in the GalaxySemi JS API are available.\nThe key content object to configure this insertion is called \'CurrentGSKeysContent\' \nExample:\n    if (....)\n        CurrentGSKeysContent.Set(\'key\', \'value\');\nStatus values (integer type):\n    0 - Passed: File can be processed\n    1 - Failed: File must be rejected (eg: file corrupted,...)\n    2 - FailedValidationStep: File not corrupted but doesn\'t match with the validation step\n    3 - Delay: Process failed but file not corrupted (eg: copy problem, etc), delay insertion to try again later\n*/\nCurrentGSKeysContent.Set(\'Status\',0);\nCurrentGSKeysContent.Set(\'Error\',\'\');'),(1,'PreScriptActivated','false'),(1,'Priority','1'),(1,'LastExecuted','2014-03-27 21:47:26'),(2,'Title','Import Data WITHOUT results'),(2,'DataPath','/data/nfsshare/datapump/steven'),(2,'ScanSubFolders','NO'),(2,'SortBy','Time|Desc'),(2,'ImportFileExtensions','*.00?;*.01?;*.02?;*.Z;*.atd;*.atdf;*.col;*.csv;*.dat;*.data;*.datalog;*.dl;*.dl4;*.dlk;*.dta;*.edf;*.edl;*.gdf;*.gdf_0;*.gdf_1;*.gz;*.in;*.inf;*.klarf;*.krf;*.log;*.log_a;*.map;*.out;*.pcm;*.prn;*.prt;*.pts;*.sdi;*.spd;*.std;*.stdf;*.tar;*.tsl;*.tsm;*.txt;*.wat;*.wpr;*.xml;*.zip'),(2,'Frequency','7'),(2,'DayOfWeek','0'),(2,'Database','gexdb_ase'),(2,'DataType','0'),(2,'TestingStage',''),(2,'ExecWindow','NO'),(2,'StartTime','0,0'),(2,'StopTime','0,0'),(2,'PostImport','0'),(2,'PostImportFolder',''),(2,'PostImportFailure','0'),(2,'PostImportFailureFolder',''),(2,'PostImportDelay','0'),(2,'PostImportDelayFolder',''),(2,'CheckYield','NO'),(2,'YieldBins','1'),(2,'AlarmLevel','100'),(2,'MinimumParts','100'),(2,'Emails','ymadmin'),(2,'EmailFrom','Yield-Man@galaxysemi.com'),(2,'EmailFormat','HTML'),(2,'RejectSmallSplitlots_NbParts','-1'),(2,'RejectSmallSplitlots_Gdpw_Percent','-1'),(2,'ExecuteBatchAfterInsertion','NO'),(2,'BatchToExecuteAfterInsertion',''),(2,'MaxPartsForTestResultInsertion','0'),(2,'RejectFilesOnPassBinlist','NO'),(2,'PassBinlistForRejectTest','1'),(2,'PostScript','/*\nEnter here any JavaScript codes you\'d like to run after processing. \nMost of the singleton objects available in the GalaxySemi JS API are available. \n*/'),(2,'PostScriptActivated','false'),(2,'PreScript','/*\nEnter here any JavaScript codes you\'d like to run just before insertion. \nMost of the singleton objects available in the GalaxySemi JS API are available.\nThe key content object to configure this insertion is called \'CurrentGSKeysContent\' \nExample:\n    if (....)\n        CurrentGSKeysContent.Set(\'key\', \'value\');\nStatus values (integer type):\n    0 - Passed: File can be processed\n    1 - Failed: File must be rejected (eg: file corrupted,...)\n    2 - FailedValidationStep: File not corrupted but doesn\'t match with the validation step\n    3 - Delay: Process failed but file not corrupted (eg: copy problem, etc), delay insertion to try again later\n*/\nCurrentGSKeysContent.Set(\'Status\',0);\nCurrentGSKeysContent.Set(\'Error\',\'\');'),(2,'PreScriptActivated','false'),(2,'Priority','1'),(2,'LastExecuted','2014-03-28 15:01:55');
/*!40000 ALTER TABLE `ym_tasks_options` ENABLE KEYS */;
UNLOCK TABLES;
/*!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 2014-03-28 17:47:02
