--- chewbacca/YodaProfiler/docs/PAMELAProductionDB.sql	2009/12/10 13:18:08	1.20
+++ chewbacca/YodaProfiler/docs/PAMELAProductionDB.sql	2009/12/24 10:31:16	1.22
@@ -39,7 +39,7 @@
 
 CREATE TABLE `GL_RESURS_OFFSET` (
   `ID` int(10) unsigned NOT NULL auto_increment,
-  `FROM_ORBIT` int(10) unsigned NOT NULL default '0',
+  `FROM_ORBIT` int(10) unsigned NOT NULL default '0' COMMENT 'SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE),ID FROM GL_RESURS_OFFSET WHERE FROM_ORBIT< "  << dworbit << " AND SPECIAL_FILE="" order by FROM_ORBIT desc limit 1;',
   `SPECIAL_FILE` varchar(255) NOT NULL default '',
   `OFFSET_DATE` timestamp default '0000-00-00 00:00:00',
   `INSERT_TIME` timestamp NOT NULL default CURRENT_TIMESTAMP,
@@ -91,6 +91,9 @@
 INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_152_001_cln1.pam','2009-06-10 21:00:00',NULL);
 INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_153_001_cln1.pam','2009-06-10 21:00:00',NULL);
 INSERT INTO GL_RESURS_OFFSET VALUES(0,'18150','','2009-09-09 21:00:00',NULL);
+INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19526_072_001_cln1.pam','2009-09-09 21:00:00',NULL);
+INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19539_073_001_cln1.pam','2009-09-09 21:00:00',NULL);
+INSERT INTO GL_RESURS_OFFSET VALUES(0,'19525','','2009-12-08 21:00:00',NULL);
 
 
 
@@ -766,6 +769,8 @@
   `INPUT_NAME` varchar(255) default './nnnnmmm.pam' COMMENT 'It is the filename of the input file',  
   `TIME_IS_ESTIMATED` tinyint(1) unsigned NOT NULL default '0' COMMENT 'No timesync was found for this entry, we use a timesync from the same download',
   `INSERT_TIME` timestamp default CURRENT_TIMESTAMP, 
+  `INSERTED_BY` varchar(4) NOT NULL default 'NONE' COMMENT 'The owner of the file',
+  `ON_DISK` varchar(3) NOT NULL default 'YES' COMMENT 'The file is on disk (no deleted)',
  PRIMARY KEY  (`ID_N`)
 ) 
 ;
@@ -792,6 +797,8 @@
   `INPUT_NAME` varchar(255) default './nnnnmmm.pam' COMMENT 'It is the filename of the input file',  
   `TIME_IS_ESTIMATED` tinyint(1) unsigned NOT NULL default '0' COMMENT 'No timesync was found for this entry, we use a timesync from the same download',
   `INSERT_TIME` timestamp default CURRENT_TIMESTAMP, 
+  `INSERTED_BY` varchar(4) NOT NULL default 'NONE' COMMENT 'The owner of the file',
+  `ON_DISK` varchar(3) NOT NULL default 'YES' COMMENT 'The file is on disk (no deleted)',
   PRIMARY KEY  (`ID_N`)
 ) 
 ;
@@ -853,6 +860,9 @@
 INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_152_001','2009-06-10 21:00:00',NULL);
 INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','18160_153_001','2009-06-10 21:00:00',NULL);
 
+INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19526_072_001','2009-09-09 21:00:00',NULL);
+INSERT INTO GL_RESURS_OFFSET VALUES(0,'0','19539_073_001','2009-09-09 21:00:00',NULL);
+
 
 
 drop table if exists dbname.ROOT_TABLE_MERGING ;
