(23227,'Staff','1987-06-20','1996-06-19'),(23228,'Engineer','1993-04-05','2002-04-04'),(23228,'Senior Engineer','2002-04-04','2002-07-01'),(23229,'Senior Engineer','1989-10-17','9999-01-01'),(23230,'Technique Leader','1987-03-05','1991-11-10'),(23231,'Senior Staff','1998-10-24','9999-01-01'),(23231,'Staff','1992-10-24','1998-10-24'),(23232,'Technique Leader','1995-06-13','9999-01-01'),(23233,'Engineer','1993-11-22','1999-11-22'),(23233,'Senior Engineer','1999-11-22','9999-01-01'),(23234,'Senior Staff','1997-05-14','9999-01-01'),(23234,'Staff','1988-05-14','1997-05-14'),(23235,'Staff','1997-11-22','9999-01-01'),(23236,'Senior Engineer','1997-11-24','9999-01-01'),(23237,'Staff','1993-05-21','1997-05-07'),(23238,'Technique Leader','1995-09-29','9999-01-01'),(23239,'Senior Staff','1996-09-15','9999-01-01'),(23239,'Staff','1991-09-16','1996-09-15'),(23240,'Senior Staff','1995-01-12','9999-01-01'),(23241,'Senior Engineer','1987-05-23','9999-01-01'),(23242,'Senior Staff','1998-06-17','9999-01-01'),(23242,'Staff','1991-06-17','1998-06-17'),(23243,'Engineer','1996-05-16','9999-01-01'),(23244,'Engineer','1986-08-29','1991-08-29'),(23244,'Senior Engineer','1991-08-29','9999-01-01'),(23245,'Engineer','1987-01-12','1990-12-20'),(23246,'Senior Staff','1996-09-07','9999-01-01'),(23246,'Staff','1988-09-07','1996-09-07'),(23247,'Staff','1999-04-02','9999-01-01'),(23248,'Senior Staff','1997-09-01','9999-01-01'),(23248,'Staff','1991-09-02','1997-09-01'),(23249,'Senior Staff','1998-06-09','9999-01-01'),(23250,'Engineer','1986-11-07','1994-11-07'),(23250,'Senior Engineer','1994-11-07','9999-01-01'),(23251,'Engineer','1996-06-09','9999-01-01'),(23252,'Engineer','1985-03-19','1993-03-19'),(23252,'Senior Engineer','1993-03-19','9999-01-01'),(23253,'Engineer','1998-11-26','2002-04-05'),(23254,'Engineer','1998-12-08','9999-01-01'),(23255,'Engineer','1986-10-30','1995-10-30'),(23255,'Senior Engineer','1995-10-30','9999-01-01'),(23256,'Senior Engineer','1994-04-05','9999-01-01'),(23257,'Senior Staff','1993-11-07','2000-03-27'),(23257,'Staff','1986-11-07','1993-11-07'),(23258,'Senior Staff','1991-03-30','9999-01-01'),(23258,'Staff','1986-03-30','1991-03-30'),(23259,'Engineer','1985-02-16','1993-02-16'),(23259,'Senior Engineer','1993-02-16','9999-01-01'),(23260,'Senior Staff','2001-12-23','9999-01-01'),(23260,'Staff','1995-12-24','2001-12-23'),(23261,'Staff','1999-10-30','1999-11-01'),(23262,'Senior Staff','1994-06-05','9999-01-01'),(23263,'Engineer','1988-12-10','1995-12-11'),(23263,'Senior Engineer','1995-12-11','9999-01-01'),(23264,'Engineer','1994-05-17','9999-01-01'),(23265,'Engineer','1993-07-03','2001-07-03'),(23265,'Senior Engineer','2001-07-03','9999-01-01'),(23266,'Engineer','1992-01-31','2001-01-30'),(23266,'Senior Engineer','2001-01-30','9999-01-01'),(23267,'Staff','1999-06-19','9999-01-01'),(23268,'Senior Staff','1988-02-11','9999-01-01'),(23269,'Senior Engineer','1988-05-25','9999-01-01'),(23270,'Engineer','1989-04-10','1996-04-10'),(23270,'Senior Engineer','1996-04-10','2000-10-23'),(23271,'Senior Staff','1997-06-01','9999-01-01'),(23272,'Senior Engineer','1991-04-27','1997-01-06'),(23273,'Senior Staff','1994-05-04','9999-01-01'),(23273,'Staff','1985-05-04','1994-05-04'),(23274,'Technique Leader','1998-09-03','9999-01-01'),(23275,'Assistant Engineer','1995-08-20','2000-08-19'),(23275,'Engineer','2000-08-19','9999-01-01'),(23276,'Senior Staff','1999-04-11','9999-01-01'),(23277,'Engineer','1989-08-06','1995-08-06'),(23277,'Senior Engineer','1995-08-06','9999-01-01'),(23278,'Engineer','1986-01-24','1991-01-24'),(23278,'Senior Engineer','1991-01-24','9999-01-01'),(23279,'Staff','1997-01-15','1999-02-28'),(23280,'Senior Staff','1987-10-09','9999-01-01'),(23281,'Engineer','1993-02-24','1998-02-24'),(23281,'Senior Engineer','1998-02-24','9999-01-01'),(23282,'Assistant Engineer','1994-11-02','9999-01-01'),(23283,'Senior Staff','1996-11-19','1999-01-15'),(23283,'Staff','1991-11-20','1996-11-19'),(23284,'Assistant Engineer','1992-09-16','2001-09-16'),(23284,'Engineer','2001-09-16','9999-01-01'),(23285,'Staff','1999-01-05','9999-01-01'),(23286,'Senior Staff','1991-02-14','9999-01-01'),(23286,'Staff','1986-02-14','1991-02-14'),(23287,'Staff','1995-09-20','9999-01-01'),(23288,'Senior Staff','1991-04-19','9999-01-01'),(23289,'Engineer','1991-02-21','1998-02-21'),(23289,'Senior Engineer','1998-02-21','9999-01-01'),(23290,'Staff','1996-11-30','9999-01-01'),(23291,'Senior Staff','2000-02-01','9999-01-01'),(23291,'Staff','1995-02-01','2000-02-01'),(23292,'Engineer','1986-09-26','1992-09-01'),(23293,'Staff','1998-05-27','9999-01-01'),(23294,'Engineer','1993-04-30','1999-04-30'),(23294,'Senior Engineer','1999-04-30','9999-01-01'),(23295,'Senior Staff','1995-10-25','9999-01-01'),(23296,'Assistant Engineer','1985-11-12','1993-11-12'),(23296,'Engineer','1993-11-12','2001-11-12'),(23296,'Senior Engineer','2001-11-12','9999-01-01'),(23297,'Senior Staff','1995-11-22','9999-01-01'),(23297,'Staff','1990-11-22','1995-11-22'),(23298,'Senior Staff','2002-07-28','9999-01-01'),(23298,'Staff','1994-07-28','2002-07-28'),(23299,'Staff','1989-07-07','1997-09-12'),(23300,'Senior Staff','1993-09-18','9999-01-01'),(23300,'Staff','1987-09-19','1993-09-18'),(23301,'Senior Staff','1997-03-05','9999-01-01'),(23301,'Staff','1992-03-05','1997-03-05'),(23302,'Senior Staff','1985-12-29','9999-01-01'),(23303,'Senior Staff','1998-03-28','9999-01-01'),(23303,'Staff','1992-03-28','1998-03-28'),(23304,'Senior Staff','2000-02-23','9999-01-01'),(23304,'Staff','1991-02-23','2000-02-23'),(23305,'Engineer','1986-03-13','1995-03-13'),(23305,'Senior Engineer','1995-03-13','9999-01-01'),(23306,'Senior Engineer','1995-09-18','1996-11-24'),(23307,'Engineer','1985-04-01','1991-04-01'),(23307,'Senior Engineer','1991-04-01','9999-01-01'),(23308,'Staff','1996-02-16','1996-10-07'),(23309,'Senior Staff','1997-02-09','9999-01-01'),(23309,'Staff','1988-02-10','1997-02-09'),(23310,'Engineer','1999-11-09','2001-07-22'),(23311,'Senior Staff','1996-06-06','9999-01-01'),(23312,'Engineer','1986-03-30','1993-03-30'),(23312,'Senior Engineer','1993-03-30','9999-01-01'),(23313,'Engineer','1988-11-23','1997-11-23'),(23313,'Senior Engineer','1997-11-23','9999-01-01'),(23314,'Senior Staff','1985-07-24','9999-01-01'),(23315,'Senior Staff','1992-04-15','9999-01-01'),(23316,'Staff','1999-03-24','9999-01-01'),(23317,'Staff','1999-04-24','2002-03-19'),(23318,'Senior Staff','1989-02-10','9999-01-01'),(23319,'Staff','1999-04-25','9999-01-01'),(23320,'Technique Leader','1988-02-06','2001-08-19'),(23321,'Staff','1994-09-16','9999-01-01'),(23322,'Senior Staff','1993-07-23','9999-01-01'),(23323,'Engineer','1985-04-01','1994-04-01'),(23323,'Senior Engineer','1994-04-01','9999-01-01'),(23324,'Senior Staff','1987-07-14','9999-01-01'),(23325,'Staff','1998-04-17','9999-01-01'),(23326,'Assistant Engineer','1991-02-23','1996-02-23'),(23326,'Engineer','1996-02-23','2001-02-22'),(23326,'Senior Engineer','2001-02-22','9999-01-01'),(23327,'Engineer','1999-11-24','9999-01-01'),(23328,'Engineer','1993-10-03','9999-01-01'),(23329,'Engineer','1991-08-22','1997-09-20'),(23330,'Engineer','1985-10-05','1991-10-05'),(23330,'Senior Engineer','1991-10-05','9999-01-01'),(23331,'Engineer','1987-03-31','1994-03-31'),(23331,'Senior Engineer','1994-03-31','9999-01-01'),(23332,'Senior Engineer','1991-01-10','1999-06-25'),(23333,'Senior Engineer','1997-08-12','9999-01-01'),(23334,'Senior Staff','1999-05-02','9999-01-01'),(23335,'Engineer','1990-01-13','1997-01-13'),(23335,'Senior Engineer','1997-01-13','9999-01-01'),(23336,'Senior Staff','1999-03-26','9999-01-01'),(23336,'Staff','1994-03-26','1999-03-26'),(23337,'Engineer','1992-06-21','1997-06-21'),(23337,'Senior Engineer','1997-06-21','9999-01-01'),(23338,'Senior Engineer','1993-11-04','9999-01-01'),(23339,'Technique Leader','1985-05-10','1998-11-18'),(23340,'Engineer','1999-11-06','9999-01-01'),(23341,'Engineer','1985-06-30','1994-06-30'),(23341,'Senior Engineer','1994-06-30','9999-01-01'),(23342,'Senior Staff','1996-01-27','9999-01-01'),(23342,'Staff','1987-01-27','1996-01-27'),(23343,'Senior Staff','1999-08-06','9999-01-01'),(23344,'Senior Engineer','1986-08-12','9999-01-01'),(23345,'Senior Staff','1993-06-27','9999-01-01'),(23345,'Staff','1986-06-27','1993-06-27'),(23346,'Technique Leader','1995-11-13','2000-05-21'),(23347,'Engineer','1993-09-23','2000-09-23'),(23347,'Senior Engineer','2000-09-23','9999-01-01'),(23348,'Engineer','1997-11-25','9999-01-01'),(23349,'Engineer','1988-05-15','1997-05-15'),(23349,'Senior Engineer','1997-05-15','9999-01-01'),(23350,'Senior Staff','1994-12-02','9999-01-01'),(23350,'Staff','1989-12-02','1994-12-02'),(23351,'Assistant Engineer','1995-01-08','9999-01-01'),(23352,'Senior Staff','1998-09-19','9999-01-01'),(23352,'Staff','1989-09-19','1998-09-19'),(23353,'Engineer','1994-04-30','2000-01-15'),(23354,'Technique Leader','1997-06-22','9999-01-01'),(23355,'Engineer','1999-04-05','9999-01-01'),(23356,'Staff','1996-07-27','9999-01-01'),(23357,'Engineer','1996-03-31','9999-01-01'),(23358,'Senior Staff','1996-07-05','9999-01-01'),(23358,'Staff','1991-07-06','1996-07-05'),(23359,'Technique Leader','1997-12-19','9999-01-01'),(23360,'Engineer','1997-05-16','9999-01-01'),(23361,'Engineer','1993-09-15','1994-06-29'),(23362,'Senior Staff','1995-02-06','9999-01-01'),(23362,'Staff','1986-02-06','1995-02-06'),(23363,'Senior Staff','2001-05-15','9999-01-01'),(23363,'Staff','1993-05-15','2001-05-15'),(23364,'Senior Engineer','1989-07-13','9999-01-01'),(23365,'Senior Engineer','1985-05-10','9999-01-01'),(23366,'Engineer','1992-08-15','1993-03-18'),(23367,'Staff','1999-08-13','9999-01-01'),(23368,'Engineer','1987-03-09','1993-03-08'),(23368,'Senior Engineer','1993-03-08','9999-01-01'),(23369,'Senior Staff','2002-05-09','9999-01-01'),(23369,'Staff','1997-05-09','2002-05-09'),(23370,'Senior Staff','1998-06-11','9999-01-01'),(23370,'Staff','1989-06-11','1998-06-11'),(23371,'Engineer','1997-05-07','2002-05-07'),(23371,'Senior Engineer','2002-05-07','9999-01-01'),(23372,'Engineer','1993-05-09','1997-12-19'),(23373,'Senior Staff','2000-06-14','9999-01-01'),(23373,'Staff','1991-06-15','2000-06-14'),(23374,'Senior Staff','1992-07-16','9999-01-01'),(23374,'Staff','1986-07-17','1992-07-16'),(23375,'Staff','1999-10-12','9999-01-01'),(23376,'Senior Staff','1993-05-03','9999-01-01'),(23376,'Staff','1986-05-03','1993-05-03'),(23377,'Senior Staff','1998-06-02','2001-10-30'),(23378,'Senior Staff','1993-03-14','1998-05-04'),(23379,'Engineer','1992-04-11','1999-04-12'),(23379,'Senior Engineer','1999-04-12','9999-01-01'),(23380,'Staff','1997-05-06','9999-01-01'),(23381,'Senior Staff','2001-10-12','9999-01-01'),(23381,'Staff','1995-10-13','2001-10-12'),(23382,'Senior Engineer','1987-08-20','9999-01-01'),(23383,'Senior Engineer','1993-11-23','9999-01-01'),(23384,'Senior Staff','1989-10-08','1993-11-30'),(23385,'Staff','1997-03-18','9999-01-01'),(23386,'Technique Leader','1986-11-15','9999-01-01'),(23387,'Engineer','1998-06-21','9999-01-01'),(23388,'Engineer','1994-11-07','9999-01-01'),(23389,'Senior Staff','1995-07-13','9999-01-01'),(23389,'Staff','1989-07-13','1995-07-13'),(23390,'Senior Staff','1993-10-01','2000-11-23'),(23391,'Senior Engineer','1989-07-20','9999-01-01'),(23392,'Senior Engineer','1994-11-05','2001-10-17'),(23393,'Staff','1996-12-24','9999-01-01'),(23394,'Engineer','1990-02-18','1996-02-18'),(23394,'Senior Engineer','1996-02-18','9999-01-01'),(23395,'Engineer','1998-01-01','9999-01-01'),(23396,'Technique Leader','1986-12-15','9999-01-01'),(23397,'Senior Staff','1986-04-20','9999-01-01'),(23398,'Technique Leader','1991-11-13','9999-01-01'),(23399,'Engineer','1988-02-07','1994-02-06'),(23399,'Senior Engineer','1994-02-06','9999-01-01'),(23400,'Senior Engineer','1985-04-15','9999-01-01'),(23401,'Engineer','1995-03-05','1996-10-28'),(23402,'Engineer','1991-01-08','2000-01-08'),(23402,'Senior Engineer','2000-01-08','9999-01-01'),(23403,'Staff','1997-09-16','9999-01-01'),(23404,'Senior Engineer','1988-04-27','9999-01-01'),(23405,'Senior Staff','2000-11-25','9999-01-01'),(23405,'Staff','1995-11-26','2000-11-25'),(23406,'Senior Staff','1990-02-12','9999-01-01'),(23406,'Staff','1985-02-12','1990-02-12'),(23407,'Senior Staff','1996-07-29','9999-01-01'),(23407,'Staff','1990-07-30','1996-07-29'),(23408,'Engineer','1985-12-28','1993-12-28'),(23408,'Senior Engineer','1993-12-28','9999-01-01'),(23409,'Technique Leader','1985-04-19','2001-08-05'),(23410,'Senior Engineer','1986-01-09','9999-01-01'),(23411,'Staff','1993-10-02','1996-11-29'),(23412,'Senior Staff','1999-07-31','9999-01-01'),(23412,'Staff','1993-07-31','1999-07-31'),(23413,'Senior Staff','1996-07-24','9999-01-01'),(23413,'Staff','1991-07-25','1996-07-24'),(23414,'Engineer','1993-01-27','2002-01-27'),(23414,'Senior Engineer','2002-01-27','9999-01-01'),(23415,'Engineer','1985-11-24','1990-11-24'),(23415,'Senior Engineer','1990-11-24','1991-10-26'),(23416,'Staff','1999-01-28','9999-01-01'),(23417,'Senior Staff','1993-05-12','9999-01-01'),(23417,'Staff','1988-05-12','1993-05-12'),(23418,'Senior Staff','1994-10-01','9999-01-01'),(23418,'Staff','1985-10-01','1994-10-01'),(23419,'Engineer','1992-08-22','1997-08-22'),(23419,'Senior Engineer','1997-08-22','9999-01-01'),(23420,'Engineer','1986-07-12','1995-07-12'),(23420,'Senior Engineer','1995-07-12','9999-01-01'),(23421,'Staff','1996-04-05','9999-01-01'),(23422,'Engineer','1995-12-26','2001-12-25'),(23422,'Senior Engineer','2001-12-25','9999-01-01'),(23423,'Technique Leader','1988-02-02','1993-07-29'),(23424,'Senior Staff','2000-03-12','9999-01-01'),(23424,'Staff','1995-03-13','2000-03-12'),(23425,'Senior Engineer','1986-07-27','9999-01-01'),(23426,'Staff','1988-10-14','1989-04-11'),(23427,'Senior Staff','1992-04-23','9999-01-01'),(23428,'Senior Staff','1996-01-12','9999-01-01'),(23428,'Staff','1988-01-12','1996-01-12'),(23429,'Senior Staff','1997-11-07','9999-01-01'),(23430,'Engineer','1992-04-19','1998-04-19'),(23430,'Senior Engineer','1998-04-19','9999-01-01'),(23431,'Engineer','1998-01-13','9999-01-01'),(23432,'Staff','1987-12-30','1989-01-27'),(23433,'Staff','1995-08-19','9999-01-01'),(23434,'Engineer','1989-12-15','1996-12-15'),(23434,'Senior Engineer','1996-12-15','9999-01-01'),(23435,'Senior Engineer','1995-08-06','9999-01-01'),(23436,'Senior Staff','1992-05-29','9999-01-01'),(23437,'Engineer','1991-03-04','1996-08-01'),(23438,'Staff','1997-08-23','9999-01-01'),(23439,'Assistant Engineer','1994-01-02','1997-01-18'),(23440,'Technique Leader','1998-03-29','9999-01-01'),(23441,'Engineer','1990-12-23','1999-12-23'),(23441,'Senior Engineer','1999-12-23','9999-01-01'),(23442,'Assistant Engineer','1987-12-31','1996-12-30'),(23442,'Engineer','1996-12-30','9999-01-01'),(23443,'Senior Engineer','1997-04-04','9999-01-01'),(23444,'Senior Staff','1996-09-09','9999-01-01'),(23444,'Staff','1990-09-10','1996-09-09'),(23445,'Engineer','1999-04-06','9999-01-01'),(23446,'Staff','1997-03-09','1998-01-15'),(23447,'Staff','1998-11-14','9999-01-01'),(23448,'Senior Engineer','1988-01-19','9999-01-01'),(23449,'Engineer','1991-09-02','1998-09-02'),(23449,'Senior Engineer','1998-09-02','9999-01-01'),(23450,'Senior Staff','1991-06-27','9999-01-01'),(23451,'Staff','1994-05-27','1996-07-06'),(23452,'Engineer','1998-01-06','9999-01-01'),(23453,'Assistant Engineer','1989-06-18','1998-06-18'),(23453,'Engineer','1998-06-18','9999-01-01'),(23454,'Senior Staff','1986-12-20','9999-01-01'),(23455,'Senior Staff','1999-11-10','9999-01-01'),(23455,'Staff','1990-11-10','1999-11-10'),(23456,'Senior Engineer','1999-02-26','9999-01-01'),(23457,'Engineer','1994-10-21','9999-01-01'),(23458,'Technique Leader','1995-06-13','9999-01-01'),(23459,'Senior Staff','1998-11-23','9999-01-01'),(23460,'Assistant Engineer','1991-01-21','1995-09-18'),(23461,'Engineer','1993-12-08','1998-12-08'),(23461,'Senior Engineer','1998-12-08','9999-01-01'),(23462,'Engineer','1988-08-17','1993-08-17'),(23462,'Senior Engineer','1993-08-17','2001-11-17'),(23463,'Senior Staff','1998-04-02','9999-01-01'),(23464,'Staff','1998-03-16','9999-01-01'),(23465,'Staff','1996-10-04','9999-01-01'),(23466,'Engineer','1994-12-28','2000-12-27'),(23466,'Senior Engineer','2000-12-27','9999-01-01'),(23467,'Senior Staff','1995-02-27','9999-01-01'),(23467,'Staff','1989-02-27','1995-02-27'),(23468,'Engineer','1995-04-02','2002-04-02'),(23468,'Senior Engineer','2002-04-02','9999-01-01'),(23469,'Staff','1997-12-08','1999-05-15'),(23470,'Engineer','1985-09-05','1993-09-05'),(23470,'Senior Engineer','1993-09-05','9999-01-01'),(23471,'Senior Staff','1987-04-16','9999-01-01'),(23472,'Senior Staff','1985-07-13','9999-01-01'),(23473,'Engineer','1996-06-25','2002-06-25'),(23473,'Senior Engineer','2002-06-25','9999-01-01'),(23474,'Engineer','1985-12-08','1993-12-08'),(23474,'Senior Engineer','1993-12-08','9999-01-01'),(23475,'Staff','1997-06-10','9999-01-01'),(23476,'Engineer','1995-04-06','1997-07-11'),(23477,'Technique Leader','1987-11-12','9999-01-01'),(23478,'Senior Staff','1988-03-19','9999-01-01'),(23479,'Technique Leader','1996-04-15','9999-01-01'),(23480,'Staff','1997-10-28','9999-01-01'),(23481,'Engineer','1999-10-01','9999-01-01'),(23482,'Engineer','1996-04-01','9999-01-01'),(23483,'Engineer','1992-06-15','1995-01-19'),(23484,'Engineer','1990-11-09','1995-11-09'),(23484,'Senior Engineer','1995-11-09','9999-01-01'),(23485,'Staff','1999-11-21','9999-01-01'),(23486,'Senior Staff','1995-09-03','9999-01-01'),(23486,'Staff','1986-09-03','1995-09-03'),(23487,'Staff','1997-09-05','9999-01-01'),(23488,'Engineer','1998-09-26','9999-01-01'),(23489,'Senior Staff','1993-01-26','9999-01-01'),(23489,'Staff','1987-01-27','1993-01-26'),(23490,'Engineer','1985-10-07','1993-10-07'),(23490,'Senior Engineer','1993-10-07','1996-02-16'),(23491,'Engineer','1985-12-15','1991-12-15'),(23491,'Senior Engineer','1991-12-15','9999-01-01'),(23492,'Engineer','1999-03-09','9999-01-01'),(23493,'Engineer','1998-09-29','9999-01-01'),(23494,'Senior Staff','1994-01-31','9999-01-01'),(23495,'Senior Staff','1998-06-25','9999-01-01'),(23495,'Staff','1993-06-25','1998-06-25'),(23496,'Senior Staff','1992-04-09','9999-01-01'),(23496,'Staff','1985-04-09','1992-04-09'),(23497,'Senior Engineer','1991-09-02','9999-01-01'),(23498,'Senior Staff','2000-06-24','2001-12-27'),(23498,'Staff','1995-06-25','2000-06-24'),(23499,'Senior Staff','1990-08-22','9999-01-01'),(23499,'Staff','1985-08-22','1990-08-22'),(23500,'Senior Staff','1996-03-11','9999-01-01'),(23500,'Staff','1988-03-11','1996-03-11'),(23501,'Engineer','1989-12-04','1997-12-04'),(23501,'Senior Engineer','1997-12-04','9999-01-01'),(23502,'Engineer','1989-12-12','1994-10-31'),(23503,'Staff','1998-06-04','9999-01-01'),(23504,'Senior Staff','2002-07-12','9999-01-01'),(23504,'Staff','1996-07-12','2002-07-12'),(23505,'Staff','1987-09-06','1994-10-19'),(23506,'Senior Staff','1995-06-18','9999-01-01'),(23506,'Staff','1986-06-18','1995-06-18'),(23507,'Senior Staff','1998-07-09','9999-01-01'),(23507,'Staff','1990-07-09','1998-07-09'),(23508,'Staff','1999-07-13','9999-01-01'),(23509,'Engineer','1992-05-25','1998-05-25'),(23509,'Senior Engineer','1998-05-25','9999-01-01'),(23510,'Senior Staff','1987-07-29','1997-11-09'),(23511,'Engineer','1988-09-25','1997-09-25'),(23511,'Senior Engineer','1997-09-25','9999-01-01'),(23512,'Engineer','1985-02-27','1994-02-27'),(23512,'Senior Engineer','1994-02-27','9999-01-01'),(23513,'Senior Staff','2002-07-24','9999-01-01'),(23513,'Staff','1997-07-24','2002-07-24'),(23514,'Engineer','1997-02-01','9999-01-01'),(23515,'Technique Leader','1988-07-16','9999-01-01'),(23516,'Engineer','1988-04-20','1993-04-20'),(23516,'Senior Engineer','1993-04-20','9999-01-01'),(23517,'Assistant Engineer','1997-08-05','1998-09-22'),(23518,'Engineer','1985-08-19','1993-08-19'),(23518,'Senior Engineer','1993-08-19','9999-01-01'),(23519,'Engineer','1988-04-20','1997-04-20'),(23519,'Senior Engineer','1997-04-20','9999-01-01'),(23520,'Staff','1995-07-27','9999-01-01'),(23521,'Senior Staff','1991-04-26','9999-01-01'),(23522,'Staff','1991-03-16','1995-08-05'),(23523,'Assistant Engineer','1995-03-02','2000-03-01'),(23523,'Engineer','2000-03-01','9999-01-01'),(23524,'Engineer','1990-06-22','1997-06-22'),(23524,'Senior Engineer','1997-06-22','9999-01-01'),(23525,'Staff','1999-03-30','9999-01-01'),(23526,'Engineer','1988-03-15','1993-03-15'),(23526,'Senior Engineer','1993-03-15','9999-01-01'),(23527,'Technique Leader','1987-09-22','9999-01-01'),(23528,'Senior Staff','1993-10-05','1996-12-25'),(23528,'Staff','1986-10-05','1993-10-05'),(23529,'Staff','1993-12-30','9999-01-01'),(23530,'Engineer','1988-05-25','1993-05-25'),(23530,'Senior Engineer','1993-05-25','9999-01-01'),(23531,'Staff','1995-03-16','2000-10-07'),(23532,'Senior Staff','1996-09-29','9999-01-01'),(23532,'Staff','1987-09-30','1996-09-29'),(23533,'Engineer','1987-05-05','1994-05-05'),(23533,'Senior Engineer','1994-05-05','9999-01-01'),(23534,'Engineer','1996-07-26','9999-01-01'),(23535,'Staff','1995-06-22','1996-08-02'),(23536,'Engineer','1991-05-04','1997-05-03'),(23536,'Senior Engineer','1997-05-03','9999-01-01'),(23537,'Staff','1996-09-02','9999-01-01'),(23538,'Technique Leader','1991-06-20','9999-01-01'),(23539,'Staff','1999-01-16','2002-03-19'),(23540,'Senior Staff','1998-04-25','9999-01-01'),(23541,'Engineer','1998-04-30','9999-01-01'),(23542,'Staff','1999-07-15','9999-01-01'),(23543,'Staff','1999-02-24','9999-01-01'),(23544,'Senior Staff','1986-01-22','9999-01-01'),(23545,'Senior Staff','1998-09-28','9999-01-01'),(23545,'Staff','1989-09-28','1998-09-28'),(23546,'Senior Staff','2001-10-28','9999-01-01'),(23546,'Staff','1994-10-29','2001-10-28'),(23547,'Staff','1993-02-18','1995-12-18'),(23548,'Assistant Engineer','1995-09-14','2000-09-13'),(23548,'Engineer','2000-09-13','9999-01-01'),(23549,'Senior Staff','1992-03-29','9999-01-01'),(23549,'Staff','1987-03-30','1992-03-29'),(23550,'Senior Staff','1993-01-13','9999-01-01'),(23551,'Staff','1993-08-09','9999-01-01'),(23552,'Senior Staff','1992-12-18','9999-01-01'),(23553,'Senior Engineer','1991-05-04','9999-01-01'),(23554,'Engineer','1986-05-16','1993-05-16'),(23554,'Senior Engineer','1993-05-16','9999-01-01'),(23555,'Senior Staff','1997-05-04','9999-01-01'),(23555,'Staff','1988-05-04','1997-05-04'),(23556,'Staff','1996-08-31','1997-01-23'),(23557,'Senior Staff','2002-06-04','9999-01-01'),(23557,'Staff','1996-06-04','2002-06-04'),(23558,'Senior Engineer','1988-05-03','9999-01-01'),(23559,'Engineer','1996-05-10','2001-05-10'),(23559,'Senior Engineer','2001-05-10','9999-01-01'),(23560,'Senior Staff','1997-12-19','9999-01-01'),(23560,'Staff','1988-12-19','1997-12-19'),(23561,'Assistant Engineer','1992-02-25','1997-02-24'),(23561,'Engineer','1997-02-24','2002-02-24'),(23561,'Senior Engineer','2002-02-24','9999-01-01'),(23562,'Senior Staff','1999-01-23','9999-01-01'),(23562,'Staff','1994-01-23','1999-01-23'),(23563,'Senior Engineer','1998-07-06','9999-01-01'),(23564,'Senior Staff','1994-11-10','1997-01-02'),(23564,'Staff','1987-11-10','1994-11-10'),(23565,'Senior Staff','1998-01-27','9999-01-01'),(23565,'Staff','1989-01-27','1998-01-27'),(23566,'Engineer','1987-01-07','1994-01-07'),(23566,'Senior Engineer','1994-01-07','9999-01-01'),(23567,'Senior Staff','1994-08-13','9999-01-01'),(23567,'Staff','1989-08-13','1994-08-13'),(23568,'Senior Engineer','1985-06-10','9999-01-01'),(23569,'Senior Engineer','1996-12-16','9999-01-01'),(23570,'Senior Staff','1998-04-11','9999-01-01'),(23570,'Staff','1992-04-11','1998-04-11'),(23571,'Engineer','1995-06-07','1999-08-18'),(23572,'Senior Engineer','1994-09-04','1995-05-07'),(23573,'Engineer','1994-09-06','1999-09-06'),(23573,'Senior Engineer','1999-09-06','9999-01-01'),(23574,'Senior Staff','2001-08-11','9999-01-01'),(23574,'Staff','1994-08-11','2001-08-11'),(23575,'Senior Engineer','1986-10-28','9999-01-01'),(23576,'Senior Staff','1998-03-05','2000-04-03'),(23577,'Senior Engineer','1986-09-16','9999-01-01'),(23578,'Senior Staff','1996-08-31','9999-01-01'),(23579,'Staff','1994-12-02','1996-02-03'),(23580,'Staff','1999-07-31','2000-09-20'),(23581,'Senior Staff','1987-03-07','9999-01-01'),(23582,'Senior Staff','1998-07-29','1998-08-19'),(23583,'Senior Staff','1990-07-12','9999-01-01'),(23584,'Technique Leader','1991-10-01','9999-01-01'),(23585,'Engineer','1988-10-29','1993-10-29'),(23585,'Senior Engineer','1993-10-29','9999-01-01'),(23586,'Engineer','1990-01-22','1994-11-18'),(23587,'Engineer','1997-10-22','9999-01-01'),(23588,'Senior Staff','1990-10-03','9999-01-01'),(23589,'Engineer','1985-04-28','1993-04-28'),(23589,'Senior Engineer','1993-04-28','9999-01-01'),(23590,'Senior Staff','1998-12-11','9999-01-01'),(23590,'Staff','1989-12-11','1998-12-11'),(23591,'Senior Staff','1996-01-05','9999-01-01'),(23591,'Staff','1987-01-05','1996-01-05'),(23592,'Senior Staff','1997-03-06','9999-01-01'),(23592,'Staff','1991-03-07','1997-03-06'),(23593,'Senior Staff','1997-04-08','1997-09-21'),(23594,'Senior Staff','1992-08-30','9999-01-01'),(23594,'Staff','1985-08-30','1992-08-30'),(23595,'Senior Staff','1999-01-23','9999-01-01'),(23595,'Staff','1993-01-23','1999-01-23'),(23596,'Engineer','1990-11-10','1995-11-10'),(23596,'Senior Engineer','1995-11-10','9999-01-01'),(23597,'Engineer','1998-08-20','9999-01-01'),(23598,'Engineer','1991-11-01','2000-10-31'),(23598,'Senior Engineer','2000-10-31','9999-01-01'),(23599,'Senior Staff','1991-12-16','9999-01-01'),(23600,'Engineer','1987-05-26','1992-05-25'),(23600,'Senior Engineer','1992-05-25','1992-09-16'),(23601,'Staff','1997-05-16','1998-12-13'),(23602,'Technique Leader','1997-08-10','9999-01-01'),(23603,'Senior Staff','1999-03-22','9999-01-01'),(23603,'Staff','1994-03-22','1999-03-22'),(23604,'Senior Staff','1999-05-08','9999-01-01'),(23604,'Staff','1994-05-08','1999-05-08'),(23605,'Senior Staff','1985-12-05','9999-01-01'),(23606,'Engineer','1986-09-17','1992-09-16'),(23606,'Senior Engineer','1992-09-16','9999-01-01'),(23607,'Technique Leader','1985-02-12','9999-01-01'),(23608,'Senior Staff','1995-12-08','9999-01-01'),(23608,'Staff','1986-12-08','1995-12-08'),(23609,'Senior Staff','1999-07-01','2000-06-25'),(23609,'Staff','1994-07-01','1999-07-01'),(23610,'Senior Staff','1998-07-30','9999-01-01'),(23610,'Staff','1992-07-30','1998-07-30'),(23611,'Staff','1993-12-26','9999-01-01'),(23612,'Engineer','1985-07-08','1993-07-08'),(23612,'Senior Engineer','1993-07-08','9999-01-01'),(23613,'Engineer','1997-04-01','9999-01-01'),(23614,'Engineer','1998-01-07','9999-01-01'),(23615,'Staff','1995-09-23','9999-01-01'),(23616,'Senior Staff','1996-11-02','2001-08-20'),(23616,'Staff','1989-11-02','1996-11-02'),(23617,'Senior Staff','1994-02-24','9999-01-01'),(23618,'Engineer','1990-01-22','1995-01-22'),(23618,'Senior Engineer','1995-01-22','9999-01-01'),(23619,'Engineer','1995-08-01','9999-01-01'),(23620,'Senior Staff','1997-04-01','9999-01-01'),(23620,'Staff','1988-04-01','1997-04-01'),(23621,'Engineer','1998-10-02','9999-01-01'),(23622,'Engineer','1985-08-12','1990-08-12'),(23622,'Senior Engineer','1990-08-12','9999-01-01'),(23623,'Technique Leader','1989-03-02','1998-07-21'),(23624,'Senior Staff','1998-09-08','9999-01-01'),(23625,'Senior Staff','1995-12-15','9999-01-01'),(23625,'Staff','1989-12-15','1995-12-15'),(23626,'Senior Staff','1993-06-22','9999-01-01'),(23626,'Staff','1987-06-23','1993-06-22'),(23627,'Senior Staff','1998-04-11','9999-01-01'),(23628,'Senior Staff','2002-03-19','9999-01-01'),(23628,'Staff','1997-03-19','2002-03-19'),(23629,'Assistant Engineer','1993-11-04','9999-01-01'),(23630,'Staff','1998-02-08','9999-01-01'),(23631,'Assistant Engineer','1989-01-29','1997-01-29'),(23631,'Engineer','1997-01-29','9999-01-01'),(23632,'Engineer','1985-04-21','1989-08-30'),(23633,'Senior Staff','1994-09-15','9999-01-01'),(23633,'Staff','1989-09-15','1994-09-15'),(23634,'Engineer','1990-03-24','1998-03-24'),(23634,'Senior Engineer','1998-03-24','9999-01-01'),(23635,'Staff','1998-02-09','9999-01-01'),(23636,'Engineer','1988-11-23','1993-11-23'),(23636,'Senior Engineer','1993-11-23','1997-05-09'),(23637,'Engineer','1992-08-11','1999-08-12'),(23637,'Senior Engineer','1999-08-12','9999-01-01'),(23638,'Senior Staff','2000-01-18','9999-01-01'),(23638,'Staff','1994-01-18','2000-01-18'),(23639,'Technique Leader','1987-12-24','9999-01-01'),(23640,'Engineer','1985-06-08','1990-06-08'),(23640,'Senior Engineer','1990-06-08','9999-01-01'),(23641,'Engineer','1993-05-24','2000-05-24'),(23641,'Senior Engineer','2000-05-24','9999-01-01'),(23642,'Engineer','1995-05-30','9999-01-01'),(23643,'Senior Staff','1993-10-13','9999-01-01'),(23644,'Senior Staff','1994-09-23','9999-01-01'),(23644,'Staff','1989-09-23','1994-09-23'),(23645,'Assistant Engineer','1985-05-13','1992-11-18'),(23646,'Senior Staff','1992-07-24','2000-07-03'),(23647,'Senior Engineer','1998-01-10','9999-01-01'),(23648,'Senior Staff','1985-07-20','9999-01-01'),(23649,'Engineer','1990-11-23','1995-11-23'),(23649,'Senior Engineer','1995-11-23','9999-01-01'),(23650,'Senior Engineer','1991-09-26','1995-10-09'),(23651,'Engineer','1991-03-26','1999-03-26'),(23651,'Senior Engineer','1999-03-26','9999-01-01'),(23652,'Senior Staff','1995-04-01','9999-01-01'),(23652,'Staff','1987-04-01','1995-04-01'),(23653,'Technique Leader','1989-10-29','9999-01-01'),(23654,'Engineer','1987-11-04','1995-11-04'),(23654,'Senior Engineer','1995-11-04','9999-01-01'),(23655,'Engineer','1997-07-12','2002-02-07'),(23656,'Senior Staff','1998-07-21','9999-01-01'),(23656,'Staff','1989-07-21','1998-07-21'),(23657,'Senior Engineer','1990-09-27','2002-02-16'),(23658,'Staff','1996-11-19','9999-01-01'),(23659,'Engineer','1989-04-25','1995-04-25'),(23659,'Senior Engineer','1995-04-25','9999-01-01'),(23660,'Engineer','1998-12-30','9999-01-01'),(23661,'Senior Staff','1998-04-13','9999-01-01'),(23661,'Staff','1990-04-13','1998-04-13'),(23662,'Senior Staff','2000-08-30','2002-06-08'),(23662,'Staff','1995-08-31','2000-08-30'),(23663,'Technique Leader','1997-04-30','9999-01-01'),(23664,'Staff','1996-12-24','9999-01-01'),(23665,'Senior Staff','1996-02-22','9999-01-01'),(23665,'Staff','1990-02-22','1996-02-22'),(23666,'Engineer','1992-05-26','1998-05-26'),(23666,'Senior Engineer','1998-05-26','9999-01-01'),(23667,'Senior Staff','1999-09-16','9999-01-01'),(23667,'Staff','1992-09-15','1999-09-16'),(23668,'Engineer','1987-08-22','1994-08-22'),(23668,'Senior Engineer','1994-08-22','9999-01-01'),(23669,'Engineer','1995-09-22','2000-08-25'),(23670,'Senior Engineer','1988-10-16','9999-01-01'),(23671,'Engineer','1990-02-26','1996-02-26'),(23671,'Senior Engineer','1996-02-26','9999-01-01'),(23672,'Senior Staff','1988-01-27','9999-01-01'),(23673,'Technique Leader','1995-03-29','2002-07-11'),(23674,'Senior Staff','2000-10-05','9999-01-01'),(23674,'Staff','1994-10-06','2000-10-05'),(23675,'Senior Engineer','1996-11-03','9999-01-01'),(23676,'Senior Staff','1998-06-14','9999-01-01'),(23676,'Staff','1989-06-14','1998-06-14'),(23677,'Staff','1997-10-26','9999-01-01'),(23678,'Engineer','1991-12-03','1999-12-03'),(23678,'Senior Engineer','1999-12-03','9999-01-01'),(23679,'Staff','1999-07-29','9999-01-01'),(23680,'Senior Engineer','1999-09-13','9999-01-01'),(23681,'Engineer','1994-02-19','1999-04-06'),(23682,'Engineer','1995-04-22','9999-01-01'),(23683,'Staff','1998-07-15','9999-01-01'),(23684,'Engineer','1987-03-19','1994-03-19'),(23684,'Senior Engineer','1994-03-19','9999-01-01'),(23685,'Staff','1988-03-16','1991-02-27'),(23686,'Engineer','1995-07-28','9999-01-01'),(23687,'Engineer','1999-02-22','2000-09-21'),(23688,'Senior Staff','1995-02-09','9999-01-01'),(23688,'Staff','1990-02-09','1995-02-09'),(23689,'Staff','1999-04-24','9999-01-01'),(23690,'Senior Staff','1994-02-15','9999-01-01'),(23690,'Staff','1985-02-15','1994-02-15'),(23691,'Assistant Engineer','1999-09-07','9999-01-01'),(23692,'Engineer','1992-02-15','1999-02-15'),(23692,'Senior Engineer','1999-02-15','9999-01-01'),(23693,'Engineer','1988-06-22','1997-06-22'),(23693,'Senior Engineer','1997-06-22','9999-01-01'),(23694,'Senior Staff','1997-01-24','1999-09-04'),(23695,'Senior Staff','1994-11-22','9999-01-01'),(23695,'Staff','1985-11-22','1994-11-22'),(23696,'Senior Staff','1995-12-10','9999-01-01'),(23696,'Staff','1988-12-09','1995-12-10'),(23697,'Senior Staff','1999-06-05','9999-01-01'),(23697,'Staff','1994-06-05','1999-06-05'),(23698,'Staff','2000-01-30','9999-01-01'),(23699,'Assistant Engineer','1990-01-26','1996-01-26'),(23699,'Engineer','1996-01-26','2002-01-25'),(23699,'Senior Engineer','2002-01-25','9999-01-01'),(23700,'Engineer','1993-04-27','1993-06-10'),(23701,'Senior Staff','1994-11-06','1996-11-04'),(23701,'Staff','1989-11-06','1994-11-06'),(23702,'Engineer','1985-06-20','1993-06-20'),(23702,'Senior Engineer','1993-06-20','9999-01-01'),(23703,'Senior Staff','1991-03-15','9999-01-01'),(23703,'Staff','1986-03-15','1991-03-15'),(23704,'Staff','1997-12-10','9999-01-01'),(23705,'Senior Engineer','1999-07-23','9999-01-01'),(23706,'Assistant Engineer','1989-08-14','1994-08-14'),(23706,'Engineer','1994-08-14','1999-08-14'),(23706,'Senior Engineer','1999-08-14','9999-01-01'),(23707,'Technique Leader','1989-03-21','9999-01-01'),(23708,'Senior Staff','1999-01-13','9999-01-01'),(23708,'Staff','1992-01-13','1999-01-13'),(23709,'Senior Engineer','1988-05-11','9999-01-01'),(23710,'Senior Engineer','1991-03-02','1992-10-20'),(23711,'Engineer','1985-10-13','1991-10-13'),(23711,'Senior Engineer','1991-10-13','9999-01-01'),(23712,'Engineer','1996-05-31','9999-01-01'),(23713,'Engineer','1992-06-29','2001-06-29'),(23713,'Senior Engineer','2001-06-29','9999-01-01'),(23714,'Assistant Engineer','1991-12-06','1996-12-05'),(23714,'Engineer','1996-12-05','2001-12-05'),(23714,'Senior Engineer','2001-12-05','9999-01-01'),(23715,'Engineer','1990-11-23','1999-11-23'),(23715,'Senior Engineer','1999-11-23','9999-01-01'),(23716,'Engineer','1996-07-07','9999-01-01'),(23717,'Senior Staff','1998-02-07','1999-03-12'),(23717,'Staff','1990-02-07','1998-02-07'),(23718,'Staff','1994-06-16','9999-01-01'),(23719,'Senior Engineer','1989-04-06','9999-01-01'),(23720,'Engineer','1989-03-29','1994-03-29'),(23720,'Senior Engineer','1994-03-29','9999-01-01'),(23721,'Engineer','1997-06-28','1999-08-05'),(23722,'Engineer','1991-10-05','1997-10-04'),(23722,'Senior Engineer','1997-10-04','9999-01-01'),(23723,'Engineer','1987-07-22','1996-07-21'),(23723,'Senior Engineer','1996-07-21','9999-01-01'),(23724,'Assistant Engineer','1992-05-02','2001-05-02'),(23724,'Engineer','2001-05-02','9999-01-01'),(23725,'Staff','1999-11-03','9999-01-01'),(23726,'Engineer','1986-04-19','1993-04-19'),(23726,'Senior Engineer','1993-04-19','1999-03-01'),(23727,'Senior Engineer','1998-07-29','2001-03-09'),(23728,'Senior Staff','2000-01-23','9999-01-01'),(23728,'Staff','1994-01-23','2000-01-23'),(23729,'Senior Staff','2001-09-27','9999-01-01'),(23729,'Staff','1996-09-27','2001-09-27'),(23730,'Engineer','1995-10-31','9999-01-01'),(23731,'Staff','1985-12-17','1988-08-15'),(23732,'Staff','1996-07-09','9999-01-01'),(23733,'Engineer','1995-01-07','2002-01-07'),(23733,'Senior Engineer','2002-01-07','9999-01-01'),(23734,'Senior Staff','1998-02-12','9999-01-01'),(23735,'Senior Staff','1988-03-17','9999-01-01'),(23736,'Senior Staff','1994-12-18','9999-01-01'),(23736,'Staff','1987-12-18','1994-12-18'),(23737,'Staff','1998-05-27','9999-01-01'),(23738,'Assistant Engineer','1994-09-12','9999-01-01'),(23739,'Senior Staff','1994-09-20','2001-07-12'),(23739,'Staff','1988-09-20','1994-09-20'),(23740,'Senior Staff','1998-10-13','1998-12-05'),(23740,'Staff','1992-10-13','1998-10-13'),(23741,'Staff','1995-12-30','1999-10-07'),(23742,'Staff','1996-04-27','9999-01-01'),(23743,'Senior Staff','1993-12-29','9999-01-01'),(23743,'Staff','1988-12-29','1993-12-29'),(23744,'Staff','1987-09-14','1987-11-04'),(23745,'Senior Engineer','1998-11-26','2002-05-20'),(23746,'Senior Engineer','1993-07-02','9999-01-01'),(23747,'Engineer','1995-06-12','9999-01-01'),(23748,'Staff','1998-09-30','2000-09-25'),(23749,'Engineer','1987-01-16','1995-01-16'),(23749,'Senior Engineer','1995-01-16','9999-01-01'),(23750,'Engineer','1990-11-23','1997-11-23'),(23750,'Senior Engineer','1997-11-23','9999-01-01'),(23751,'Senior Engineer','1990-12-10','9999-01-01'),(23752,'Staff','1991-05-19','1995-08-12'),(23753,'Engineer','1985-12-15','1992-12-15'),(23753,'Senior Engineer','1992-12-15','9999-01-01'),(23754,'Engineer','1997-12-14','9999-01-01'),(23755,'Senior Staff','1990-11-05','1994-06-25'),(23756,'Senior Staff','2001-12-03','9999-01-01'),(23756,'Staff','1994-12-03','2001-12-03'),(23757,'Senior Staff','1994-05-19','9999-01-01'),(23757,'Staff','1986-05-19','1994-05-19'),(23758,'Engineer','1991-04-01','1999-04-01'),(23758,'Senior Engineer','1999-04-01','9999-01-01'),(23759,'Engineer','1994-05-14','1999-02-01'),(23760,'Senior Staff','2001-01-25','9999-01-01'),(23760,'Staff','1993-01-25','2001-01-25'),(23761,'Staff','1997-05-29','9999-01-01'),(23762,'Senior Staff','2000-07-09','9999-01-01'),(23762,'Staff','1995-07-10','2000-07-09'),(23763,'Senior Staff','2001-11-15','9999-01-01'),(23763,'Staff','1995-11-16','2001-11-15'),(23764,'Senior Staff','1993-11-03','9999-01-01'),(23764,'Staff','1988-11-03','1993-11-03'),(23765,'Technique Leader','1997-05-14','9999-01-01'),(23766,'Engineer','1986-03-12','1994-03-12'),(23766,'Senior Engineer','1994-03-12','1994-10-15'),(23767,'Senior Staff','1994-04-22','9999-01-01'),(23767,'Staff','1987-04-22','1994-04-22'),(23768,'Engineer','1985-10-10','1990-10-10'),(23768,'Senior Engineer','1990-10-10','9999-01-01'),(23769,'Staff','1999-12-08','9999-01-01'),(23770,'Technique Leader','1990-08-09','9999-01-01'),(23771,'Engineer','1991-11-02','2000-11-01'),(23771,'Senior Engineer','2000-11-01','9999-01-01'),(23772,'Engineer','1996-08-06','9999-01-01'),(23773,'Engineer','1996-07-31','9999-01-01'),(23774,'Staff','1993-09-11','2000-04-04'),(23775,'Senior Staff','1997-12-02','9999-01-01'),(23775,'Staff','1990-12-02','1997-12-02'),(23776,'Engineer','1991-10-14','2000-10-13'),(23776,'Senior Engineer','2000-10-13','9999-01-01'),(23777,'Engineer','1985-02-28','1992-02-29'),(23777,'Senior Engineer','1992-02-29','9999-01-01'),(23778,'Senior Staff','1997-03-20','9999-01-01'),(23778,'Staff','1991-03-21','1997-03-20'),(23779,'Senior Staff','1995-12-26','9999-01-01'),(23780,'Engineer','1997-09-28','9999-01-01'),(23781,'Engineer','1998-05-10','1998-10-28'),(23782,'Senior Staff','1996-10-23','9999-01-01'),(23782,'Staff','1989-10-23','1996-10-23'),(23783,'Senior Engineer','1988-06-04','1995-08-04'),(23784,'Technique Leader','1998-04-11','9999-01-01'),(23785,'Senior Engineer','1994-09-13','9999-01-01'),(23786,'Staff','1998-06-16','9999-01-01'),(23787,'Staff','1986-01-21','1991-08-24'),(23788,'Staff','1998-03-20','9999-01-01'),(23789,'Senior Staff','1999-02-12','9999-01-01'),(23790,'Engineer','1994-12-04','9999-01-01'),(23791,'Senior Staff','1991-09-27','9999-01-01'),(23792,'Engineer','1994-09-15','9999-01-01'),(23793,'Engineer','1999-04-09','9999-01-01'),(23794,'Staff','1993-09-30','1995-03-11'),(23795,'Senior Staff','1989-10-26','9999-01-01'),(23796,'Senior Staff','1994-10-19','9999-01-01'),(23797,'Senior Staff','1998-07-02','9999-01-01'),(23798,'Staff','1999-03-21','9999-01-01'),(23799,'Technique Leader','1993-11-16','9999-01-01'),(23800,'Engineer','1997-05-14','9999-01-01'),(23801,'Engineer','1995-10-19','9999-01-01'),(23802,'Engineer','1997-09-02','9999-01-01'),(23803,'Engineer','1999-06-24','2000-11-18'),(23804,'Engineer','1998-04-19','2000-12-04'),(23805,'Staff','1998-02-11','9999-01-01'),(23806,'Technique Leader','1997-12-24','9999-01-01'),(23807,'Senior Staff','1998-10-21','9999-01-01'),(23807,'Staff','1993-10-21','1998-10-21'),(23808,'Senior Staff','1995-03-07','9999-01-01'),(23809,'Assistant Engineer','1985-03-16','1992-03-16'),(23809,'Engineer','1992-03-16','1994-05-06'),(23810,'Engineer','1992-11-18','1999-11-19'),(23810,'Senior Engineer','1999-11-19','9999-01-01'),(23811,'Engineer','1989-08-07','1998-08-07'),(23811,'Senior Engineer','1998-08-07','9999-01-01'),(23812,'Senior Staff','2000-05-19','9999-01-01'),(23812,'Staff','1991-05-20','2000-05-19'),(23813,'Assistant Engineer','1987-06-16','1995-06-16'),(23813,'Engineer','1995-06-16','9999-01-01'),(23814,'Senior Staff','1998-03-06','9999-01-01'),(23814,'Staff','1991-03-06','1998-03-06'),(23815,'Senior Staff','1999-04-02','2001-12-22'),(23816,'Engineer','1994-07-08','9999-01-01'),(23817,'Senior Staff','1998-04-14','9999-01-01'),(23817,'Staff','1992-04-14','1998-04-14'),(23818,'Senior Staff','1987-05-10','9999-01-01'),(23819,'Engineer','1990-11-11','1993-03-14'),(23820,'Engineer','1985-10-23','1990-10-23'),(23820,'Senior Engineer','1990-10-23','9999-01-01'),(23821,'Senior Staff','1999-04-20','9999-01-01'),(23821,'Staff','1990-04-20','1999-04-20'),(23822,'Engineer','1985-06-01','1991-06-01'),(23822,'Senior Engineer','1991-06-01','9999-01-01'),(23823,'Engineer','1991-09-12','1996-09-11'),(23823,'Senior Engineer','1996-09-11','9999-01-01'),(23824,'Engineer','1999-09-16','9999-01-01'),(23825,'Engineer','1992-11-14','1995-09-16'),(23826,'Engineer','1988-01-12','1994-01-11'),(23826,'Senior Engineer','1994-01-11','9999-01-01'),(23827,'Engineer','1995-10-24','2001-10-23'),(23827,'Senior Engineer','2001-10-23','9999-01-01'),(23828,'Senior Staff','1987-07-12','9999-01-01'),(23829,'Staff','1993-08-16','1993-11-06'),(23830,'Senior Staff','1995-03-11','9999-01-01'),(23831,'Senior Staff','1996-07-29','9999-01-01'),(23831,'Staff','1991-07-30','1996-07-29'),(23832,'Engineer','1994-06-27','2000-06-26'),(23832,'Senior Engineer','2000-06-26','9999-01-01'),(23833,'Engineer','1992-03-15','1995-08-28'),(23834,'Staff','1988-08-09','1993-12-04'),(23835,'Senior Staff','1992-05-30','9999-01-01'),(23835,'Staff','1986-05-31','1992-05-30'),(23836,'Staff','1996-10-01','9999-01-01'),(23837,'Assistant Engineer','1989-10-26','1994-10-26'),(23837,'Engineer','1994-10-26','1999-10-26'),(23837,'Senior Engineer','1999-10-26','9999-01-01'),(23838,'Staff','1999-02-02','9999-01-01'),(23839,'Senior Staff','1990-05-15','9999-01-01'),(23840,'Assistant Engineer','1993-07-06','2000-07-06'),(23840,'Engineer','2000-07-06','9999-01-01'),(23841,'Engineer','1992-02-26','1997-12-01'),(23842,'Engineer','1988-12-18','1993-12-18'),(23842,'Senior Engineer','1993-12-18','9999-01-01'),(23843,'Senior Staff','1995-01-24','9999-01-01'),(23843,'Staff','1987-01-24','1995-01-24'),(23844,'Engineer','1994-02-17','2001-02-17'),(23844,'Senior Engineer','2001-02-17','9999-01-01'),(23845,'Senior Engineer','1991-10-24','9999-01-01'),(23846,'Staff','1990-04-20','1998-02-08'),(23847,'Senior Staff','1993-02-12','9999-01-01'),(23847,'Staff','1985-02-12','1993-02-12'),(23848,'Staff','1996-10-10','2001-05-21'),(23849,'Senior Staff','2001-10-13','9999-01-01'),(23849,'Staff','1993-10-13','2001-10-13'),(23850,'Engineer','1992-07-23','2000-07-23'),(23850,'Senior Engineer','2000-07-23','9999-01-01'),(23851,'Senior Engineer','1990-06-06','9999-01-01'),(23852,'Senior Staff','1996-07-21','9999-01-01'),(23852,'Staff','1987-07-22','1996-07-21'),(23853,'Assistant Engineer','1989-05-01','1994-09-08'),(23854,'Engineer','1994-08-08','9999-01-01'),(23855,'Senior Staff','1994-08-02','1998-03-26'),(23856,'Staff','1998-06-27','9999-01-01'),(23857,'Engineer','1990-05-10','1997-05-10'),(23857,'Senior Engineer','1997-05-10','9999-01-01'),(23858,'Senior Staff','1996-09-30','9999-01-01'),(23858,'Staff','1991-10-01','1996-09-30'),(23859,'Engineer','1997-03-03','1998-07-14'),(23860,'Senior Staff','1996-02-27','9999-01-01'),(23860,'Staff','1988-02-27','1996-02-27'),(23861,'Staff','1998-06-03','9999-01-01'),(23862,'Engineer','1992-09-23','1999-09-24'),(23862,'Senior Engineer','1999-09-24','9999-01-01'),(23863,'Engineer','2000-01-18','9999-01-01'),(23864,'Staff','1995-09-28','1997-10-25'),(23865,'Staff','1999-10-11','9999-01-01'),(23866,'Engineer','1999-11-05','9999-01-01'),(23867,'Engineer','1994-06-23','9999-01-01'),(23868,'Staff','1997-09-19','9999-01-01'),(23869,'Engineer','1999-12-14','9999-01-01'),(23870,'Senior Staff','1996-10-01','9999-01-01'),(23870,'Staff','1987-10-02','1996-10-01'),(23871,'Staff','1997-06-18','9999-01-01'),(23872,'Senior Engineer','1991-02-03','9999-01-01'),(23873,'Engineer','1994-02-04','1996-10-21'),(23874,'Staff','1997-05-30','9999-01-01'),(23875,'Senior Staff','1995-12-29','9999-01-01'),(23875,'Staff','1986-12-29','1995-12-29'),(23876,'Technique Leader','1988-05-08','9999-01-01'),(23877,'Senior Staff','1993-09-24','9999-01-01'),(23877,'Staff','1986-09-24','1993-09-24'),(23878,'Engineer','1996-11-04','2001-11-04'),(23878,'Senior Engineer','2001-11-04','9999-01-01'),(23879,'Staff','1991-06-29','1996-12-15'),(23880,'Engineer','1986-11-01','1994-11-01'),(23880,'Senior Engineer','1994-11-01','9999-01-01'),(23881,'Senior Staff','2000-07-09','9999-01-01'),(23881,'Staff','1992-07-09','2000-07-09'),(23882,'Engineer','1994-01-24','2002-01-24'),(23882,'Senior Engineer','2002-01-24','9999-01-01'),(23883,'Technique Leader','1987-07-06','9999-01-01'),(23884,'Staff','1994-04-08','9999-01-01'),(23885,'Engineer','1997-06-20','9999-01-01'),(23886,'Engineer','1990-08-21','1998-06-01'),(23887,'Senior Staff','1990-08-19','1997-04-22'),(23888,'Senior Staff','1987-08-05','9999-01-01'),(23889,'Senior Staff','1988-02-17','9999-01-01'),(23890,'Senior Staff','1996-10-23','9999-01-01'),(23890,'Staff','1990-10-24','1996-10-23'),(23891,'Staff','1998-07-10','9999-01-01'),(23892,'Engineer','1989-01-08','1998-01-08'),(23892,'Senior Engineer','1998-01-08','9999-01-01'),(23893,'Senior Staff','1997-09-11','9999-01-01'),(23893,'Staff','1989-09-11','1997-09-11'),(23894,'Senior Engineer','1986-12-26','9999-01-01'),(23895,'Staff','1991-06-05','1999-11-09'),(23896,'Senior Staff','1995-07-10','9999-01-01'),(23896,'Staff','1986-07-10','1995-07-10'),(23897,'Staff','1997-02-27','9999-01-01'),(23898,'Senior Staff','2000-09-08','9999-01-01'),(23898,'Staff','1991-09-09','2000-09-08'),(23899,'Engineer','1989-07-16','1997-07-16'),(23899,'Senior Engineer','1997-07-16','9999-01-01'),(23900,'Senior Staff','1997-06-16','9999-01-01'),(23900,'Staff','1990-06-16','1997-06-16'),(23901,'Senior Staff','1992-05-20','1995-09-14'),(23902,'Engineer','1999-11-01','9999-01-01'),(23903,'Staff','1988-07-08','1989-02-15'),(23904,'Senior Staff','1994-04-02','1999-01-30'),(23904,'Staff','1989-04-02','1994-04-02'),(23905,'Engineer','1998-08-12','9999-01-01'),(23906,'Senior Staff','1997-03-19','9999-01-01'),(23906,'Staff','1992-03-19','1997-03-19'),(23907,'Staff','1998-09-21','9999-01-01'),(23908,'Engineer','1999-04-27','9999-01-01'),(23909,'Senior Staff','1992-11-07','9999-01-01'),(23910,'Staff','1997-08-09','9999-01-01'),(23911,'Senior Staff','1997-12-24','9999-01-01'),(23911,'Staff','1990-12-24','1997-12-24'),(23912,'Staff','1998-05-05','2000-01-18'),(23913,'Senior Engineer','1985-07-20','9999-01-01'),(23914,'Assistant Engineer','1995-12-11','9999-01-01'),(23915,'Staff','1996-04-07','9999-01-01'),(23916,'Staff','1996-03-30','9999-01-01'),(23917,'Staff','1991-04-07','1991-12-19'),(23918,'Senior Engineer','1999-02-24','9999-01-01'),(23919,'Staff','1999-04-02','9999-01-01'),(23920,'Senior Staff','1996-11-24','9999-01-01'),(23920,'Staff','1989-11-24','1996-11-24'),(23921,'Senior Staff','1993-04-13','9999-01-01'),(23922,'Senior Staff','1999-02-09','9999-01-01'),(23922,'Staff','1994-02-09','1999-02-09'),(23923,'Senior Staff','1997-08-03','9999-01-01'),(23923,'Staff','1990-08-03','1997-08-03'),(23924,'Senior Engineer','1985-07-22','9999-01-01'),(23925,'Technique Leader','1999-09-26','2000-09-11'),(23926,'Engineer','1989-04-14','1997-04-14'),(23926,'Senior Engineer','1997-04-14','9999-01-01'),(23927,'Engineer','1990-07-28','1995-07-28'),(23927,'Senior Engineer','1995-07-28','9999-01-01'),(23928,'Engineer','1992-08-14','2001-08-14'),(23928,'Senior Engineer','2001-08-14','9999-01-01'),(23929,'Senior Staff','1988-05-13','9999-01-01'),(23930,'Senior Engineer','1997-02-28','9999-01-01'),(23931,'Senior Staff','1997-03-19','9999-01-01'),(23931,'Staff','1992-03-19','1997-03-19'),(23932,'Engineer','1988-02-02','1993-02-01'),(23932,'Senior Engineer','1993-02-01','9999-01-01'),(23933,'Engineer','1991-11-24','1999-11-24'),(23933,'Senior Engineer','1999-11-24','9999-01-01'),(23934,'Engineer','1999-06-21','1999-12-21'),(23935,'Senior Staff','1994-09-14','9999-01-01'),(23936,'Senior Engineer','1993-05-27','9999-01-01'),(23937,'Engineer','1986-01-31','1994-01-31'),(23937,'Senior Engineer','1994-01-31','9999-01-01'),(23938,'Senior Engineer','1985-09-15','9999-01-01'),(23939,'Engineer','1993-12-23','2001-12-23'),(23939,'Senior Engineer','2001-12-23','9999-01-01'),(23940,'Engineer','1994-01-15','2001-01-15'),(23940,'Senior Engineer','2001-01-15','9999-01-01'),(23941,'Engineer','1992-05-26','2001-05-26'),(23941,'Senior Engineer','2001-05-26','9999-01-01'),(23942,'Engineer','1998-01-18','9999-01-01'),(23943,'Engineer','1985-06-11','1992-06-11'),(23943,'Senior Engineer','1992-06-11','1992-07-31'),(23944,'Engineer','1997-04-29','9999-01-01'),(23945,'Engineer','1987-11-11','1995-11-11'),(23945,'Senior Engineer','1995-11-11','9999-01-01'),(23946,'Staff','1997-02-01','9999-01-01'),(23947,'Engineer','1994-11-13','1999-01-29'),(23948,'Staff','1995-06-19','9999-01-01'),(23949,'Senior Staff','1997-10-03','9999-01-01'),(23949,'Staff','1989-10-03','1997-10-03'),(23950,'Senior Engineer','1988-03-19','9999-01-01'),(23951,'Engineer','1992-02-11','2000-02-11'),(23951,'Senior Engineer','2000-02-11','9999-01-01'),(23952,'Senior Staff','1996-07-26','9999-01-01'),(23952,'Staff','1988-07-26','1996-07-26'),(23953,'Engineer','1993-09-25','1996-06-04'),(23954,'Senior Engineer','1997-09-07','9999-01-01'),(23955,'Senior Engineer','1993-09-06','9999-01-01'),(23956,'Senior Staff','2001-12-17','9999-01-01'),(23956,'Staff','1996-12-17','2001-12-17'),(23957,'Technique Leader','1989-06-16','9999-01-01'),(23958,'Assistant Engineer','1995-07-21','2000-07-19'),(23959,'Staff','1999-01-20','9999-01-01'),(23960,'Senior Staff','1998-08-13','9999-01-01'),(23960,'Staff','1992-08-13','1998-08-13'),(23961,'Senior Staff','1988-11-10','9999-01-01'),(23962,'Senior Staff','1998-08-25','9999-01-01'),(23962,'Staff','1989-08-25','1998-08-25'),(23963,'Engineer','1987-04-21','1995-04-21'),(23963,'Senior Engineer','1995-04-21','9999-01-01'),(23964,'Engineer','1996-09-13','9999-01-01'),(23965,'Engineer','1988-04-08','1997-04-08'),(23965,'Senior Engineer','1997-04-08','9999-01-01'),(23966,'Engineer','1990-11-10','1996-07-18'),(23967,'Staff','1999-11-14','9999-01-01'),(23968,'Assistant Engineer','1993-11-18','1999-11-18'),(23968,'Engineer','1999-11-18','2002-02-13'),(23969,'Assistant Engineer','1986-09-16','1992-09-15'),(23969,'Engineer','1992-09-15','1998-09-15'),(23969,'Senior Engineer','1998-09-15','9999-01-01'),(23970,'Senior Staff','1994-08-16','9999-01-01'),(23971,'Senior Engineer','1997-03-29','2002-07-24'),(23972,'Senior Staff','1999-10-11','9999-01-01'),(23972,'Staff','1993-10-11','1999-10-11'),(23973,'Senior Engineer','1999-03-12','9999-01-01'),(23974,'Engineer','1992-08-01','2001-08-01'),(23974,'Senior Engineer','2001-08-01','9999-01-01'),(23975,'Engineer','1991-11-08','1996-11-07'),(23975,'Senior Engineer','1996-11-07','2000-12-08'),(23976,'Senior Staff','1991-06-20','9999-01-01'),(23977,'Senior Staff','1996-05-14','9999-01-01'),(23977,'Staff','1990-05-15','1996-05-14'),(23978,'Engineer','1995-09-16','2001-09-15'),(23978,'Senior Engineer','2001-09-15','9999-01-01'),(23979,'Senior Engineer','1986-10-23','9999-01-01'),(23980,'Staff','1991-07-31','1999-03-26'),(23981,'Senior Staff','1990-05-31','9999-01-01'),(23982,'Staff','1997-01-23','9999-01-01'),(23983,'Technique Leader','1999-11-28','9999-01-01'),(23984,'Senior Staff','1999-09-28','2000-05-14'),(23985,'Senior Staff','1997-02-27','9999-01-01'),(23985,'Staff','1992-02-28','1997-02-27'),(23986,'Engineer','1997-09-04','9999-01-01'),(23987,'Engineer','2000-01-01','9999-01-01'),(23988,'Senior Staff','1990-08-24','9999-01-01'),(23988,'Staff','1985-08-24','1990-08-24'),(23989,'Engineer','1995-04-08','2002-04-08'),(23989,'Senior Engineer','2002-04-08','9999-01-01'),(23990,'Engineer','1988-06-08','1994-06-08'),(23990,'Senior Engineer','1994-06-08','9999-01-01'),(23991,'Staff','1997-11-27','9999-01-01'),(23992,'Staff','1999-01-11','2001-09-11'),(23993,'Engineer','1985-06-08','1993-06-08'),(23993,'Senior Engineer','1993-06-08','9999-01-01'),(23994,'Engineer','1994-04-03','2002-04-03'),(23994,'Senior Engineer','2002-04-03','9999-01-01'),(23995,'Staff','1987-01-06','1988-11-23'),(23996,'Technique Leader','1988-03-15','9999-01-01'),(23997,'Senior Staff','2002-02-01','9999-01-01'),(23997,'Staff','1994-02-01','2002-02-01'),(23998,'Staff','1998-11-18','2002-02-21'),(23999,'Engineer','1989-03-19','1997-03-19'),(23999,'Senior Engineer','1997-03-19','9999-01-01'),(24000,'Staff','1995-07-04','9999-01-01'),(24001,'Senior Staff','2001-04-17','9999-01-01'),(24001,'Staff','1996-04-17','2001-04-17'),(24002,'Engineer','1994-12-05','1999-12-05'),(24002,'Senior Engineer','1999-12-05','9999-01-01'),(24003,'Engineer','1999-12-04','9999-01-01'),(24004,'Engineer','1995-05-13','9999-01-01'),(24005,'Technique Leader','1997-05-26','9999-01-01'),(24006,'Senior Staff','1998-08-03','2001-01-11'),(24007,'Assistant Engineer','1986-12-01','1991-12-01'),(24007,'Engineer','1991-12-01','1996-11-30'),(24007,'Senior Engineer','1996-11-30','9999-01-01'),(24008,'Engineer','1993-02-02','2000-12-18'),(24009,'Staff','1996-08-18','9999-01-01'),(24010,'Senior Staff','1997-08-01','9999-01-01'),(24011,'Technique Leader','1990-12-31','9999-01-01'),(24012,'Senior Staff','1994-08-27','9999-01-01'),(24012,'Staff','1986-08-27','1994-08-27'),(24013,'Assistant Engineer','1998-10-29','9999-01-01'),(24014,'Staff','1998-07-25','9999-01-01'),(24015,'Staff','1997-12-11','2001-09-06'),(24016,'Senior Staff','1998-12-31','9999-01-01'),(24017,'Staff','1998-08-23','9999-01-01'),(24018,'Senior Staff','1997-12-30','9999-01-01'),(24018,'Staff','1991-12-31','1997-12-30'),(24019,'Engineer','1994-08-22','1999-08-22'),(24019,'Senior Engineer','1999-08-22','9999-01-01'),(24020,'Senior Staff','1999-05-14','9999-01-01'),(24020,'Staff','1990-05-14','1999-05-14'),(24021,'Senior Staff','2001-09-17','9999-01-01'),(24021,'Staff','1994-09-17','2001-09-17'),(24022,'Senior Staff','1988-03-28','9999-01-01'),(24023,'Engineer','1999-02-04','2002-07-24'),(24024,'Technique Leader','1993-03-14','9999-01-01'),(24025,'Senior Staff','1989-10-13','9999-01-01'),(24026,'Staff','1992-12-05','1993-08-09'),(24027,'Senior Staff','1999-12-02','9999-01-01'),(24027,'Staff','1992-12-01','1999-12-02'),(24028,'Senior Engineer','1996-12-04','9999-01-01'),(24029,'Senior Staff','1986-04-23','9999-01-01'),(24030,'Senior Staff','2002-06-10','9999-01-01'),(24030,'Staff','1993-06-10','2002-06-10'),(24031,'Senior Staff','1995-09-15','9999-01-01'),(24031,'Staff','1986-09-15','1995-09-15'),(24032,'Senior Engineer','1990-11-27','9999-01-01'),(24033,'Technique Leader','1985-10-20','1992-05-01'),(24034,'Engineer','1985-05-07','1993-05-07'),(24034,'Senior Engineer','1993-05-07','9999-01-01'),(24035,'Engineer','1998-03-31','9999-01-01'),(24036,'Senior Staff','1992-03-22','9999-01-01'),(24036,'Staff','1986-03-23','1992-03-22'),(24037,'Engineer','1989-01-14','1991-08-31'),(24038,'Engineer','1989-03-11','1994-03-11'),(24038,'Senior Engineer','1994-03-11','9999-01-01'),(24039,'Engineer','1990-06-06','1996-06-05'),(24039,'Senior Engineer','1996-06-05','9999-01-01'),(24040,'Staff','1985-12-13','1986-11-22'),(24041,'Technique Leader','1988-04-27','9999-01-01'),(24042,'Technique Leader','1998-01-22','9999-01-01'),(24043,'Senior Staff','1999-08-07','9999-01-01'),(24043,'Staff','1990-08-07','1999-08-07'),(24044,'Engineer','1993-08-20','9999-01-01'),(24045,'Senior Staff','1995-02-27','9999-01-01'),(24045,'Staff','1987-02-27','1995-02-27'),(24046,'Engineer','1990-06-03','1996-06-02'),(24046,'Senior Engineer','1996-06-02','1999-07-30'),(24047,'Senior Staff','1998-05-30','9999-01-01'),(24047,'Staff','1990-05-30','1998-05-30'),(24048,'Engineer','1986-07-21','1994-07-21'),(24048,'Senior Engineer','1994-07-21','9999-01-01'),(24049,'Staff','1997-01-31','1997-09-09'),(24050,'Senior Staff','1992-10-12','9999-01-01'),(24050,'Staff','1985-10-12','1992-10-12'),(24051,'Engineer','1995-05-09','2001-05-08'),(24051,'Senior Engineer','2001-05-08','2001-07-10'),(24052,'Engineer','1993-03-05','2000-03-05'),(24052,'Senior Engineer','2000-03-05','9999-01-01'),(24053,'Engineer','1985-11-07','1992-11-07'),(24053,'Senior Engineer','1992-11-07','9999-01-01'),(24054,'Senior Staff','1994-07-21','9999-01-01'),(24054,'Staff','1987-07-21','1994-07-21'),(24055,'Staff','1995-10-13','1999-03-29'),(24056,'Staff','1998-11-29','9999-01-01'),(24057,'Assistant Engineer','1990-11-11','1999-11-11'),(24057,'Engineer','1999-11-11','9999-01-01'),(24058,'Engineer','1998-05-06','9999-01-01'),(24059,'Engineer','1991-08-28','1996-08-27'),(24059,'Senior Engineer','1996-08-27','9999-01-01'),(24060,'Engineer','1994-12-29','2000-12-28'),(24060,'Senior Engineer','2000-12-28','9999-01-01'),(24061,'Assistant Engineer','1986-08-02','1995-08-02'),(24061,'Engineer','1995-08-02','9999-01-01'),(24062,'Technique Leader','1997-07-16','2000-09-15'),(24063,'Senior Staff','1999-04-11','9999-01-01'),(24063,'Staff','1991-04-11','1999-04-11'),(24064,'Staff','1997-08-11','9999-01-01'),(24065,'Engineer','1989-08-14','1998-08-14'),(24065,'Senior Engineer','1998-08-14','9999-01-01'),(24066,'Senior Engineer','1994-09-11','9999-01-01'),(24067,'Senior Staff','1995-11-18','9999-01-01'),(24067,'Staff','1989-11-18','1995-11-18'),(24068,'Senior Staff','1993-03-10','1997-09-03'),(24069,'Staff','1985-03-25','1987-09-24'),(24070,'Senior Staff','1999-10-19','9999-01-01'),(24070,'Staff','1994-10-19','1999-10-19'),(24071,'Assistant Engineer','1987-05-27','1992-10-26'),(24072,'Assistant Engineer','1985-09-21','1990-09-21'),(24072,'Engineer','1990-09-21','1995-09-21'),(24072,'Senior Engineer','1995-09-21','9999-01-01'),(24073,'Senior Staff','1999-06-13','9999-01-01'),(24074,'Staff','1997-10-15','1998-02-15'),(24075,'Engineer','1990-08-04','1991-06-14'),(24076,'Senior Staff','1988-08-04','9999-01-01'),(24077,'Senior Staff','1997-04-23','9999-01-01'),(24077,'Staff','1991-04-24','1997-04-23'),(24078,'Staff','1985-02-22','1990-11-09'),(24079,'Senior Staff','2002-06-12','9999-01-01'),(24079,'Staff','1993-06-12','2002-06-12'),(24080,'Technique Leader','1996-03-11','9999-01-01'),(24081,'Engineer','1990-05-16','1999-05-16'),(24081,'Senior Engineer','1999-05-16','9999-01-01'),(24082,'Engineer','1985-07-15','1990-07-15'),(24082,'Senior Engineer','1990-07-15','9999-01-01'),(24083,'Technique Leader','1991-02-01','9999-01-01'),(24084,'Senior Engineer','2000-01-22','9999-01-01'),(24085,'Staff','1995-05-18','1998-05-31'),(24086,'Engineer','1994-08-31','2001-08-31'),(24086,'Senior Engineer','2001-08-31','9999-01-01'),(24087,'Engineer','1991-04-15','1997-04-14'),(24087,'Senior Engineer','1997-04-14','9999-01-01'),(24088,'Staff','1994-10-23','9999-01-01'),(24089,'Senior Staff','1993-12-26','9999-01-01'),(24089,'Staff','1985-12-26','1993-12-26'),(24090,'Engineer','1996-07-06','2001-07-06'),(24090,'Senior Engineer','2001-07-06','9999-01-01'),(24091,'Assistant Engineer','1999-05-24','9999-01-01'),(24092,'Staff','1996-06-01','9999-01-01'),(24093,'Engineer','1995-04-28','2000-04-27'),(24093,'Senior Engineer','2000-04-27','9999-01-01'),(24094,'Technique Leader','1989-02-17','2000-11-28'),(24095,'Assistant Engineer','1991-09-23','1998-09-23'),(24095,'Engineer','1998-09-23','9999-01-01'),(24096,'Senior Engineer','1993-11-08','9999-01-01'),(24097,'Engineer','1987-08-10','1994-08-10'),(24097,'Senior Engineer','1994-08-10','9999-01-01'),(24098,'Engineer','1987-12-10','1995-12-10'),(24098,'Senior Engineer','1995-12-10','9999-01-01'),(24099,'Senior Staff','1996-05-11','9999-01-01'),(24099,'Staff','1989-05-11','1996-05-11'),(24100,'Assistant Engineer','2000-01-09','9999-01-01'),(24101,'Engineer','1986-03-20','1987-03-28'),(24102,'Staff','1998-05-17','9999-01-01'),(24103,'Senior Staff','1995-11-30','1998-06-15'),(24103,'Staff','1988-11-29','1995-11-30'),(24104,'Technique Leader','1999-04-15','9999-01-01'),(24105,'Engineer','1999-05-06','9999-01-01'),(24106,'Senior Staff','1998-03-26','9999-01-01'),(24106,'Staff','1992-03-26','1998-03-26'),(24107,'Senior Staff','1994-02-17','9999-01-01'),(24107,'Staff','1989-02-17','1994-02-17'),(24108,'Assistant Engineer','1986-09-10','1995-09-10'),(24108,'Engineer','1995-09-10','9999-01-01'),(24109,'Staff','1986-11-27','1987-06-30'),(24110,'Senior Staff','1993-10-12','9999-01-01'),(24110,'Staff','1988-10-12','1993-10-12'),(24111,'Senior Staff','1991-12-12','9999-01-01'),(24112,'Engineer','1987-12-31','1996-12-30'),(24112,'Senior Engineer','1996-12-30','9999-01-01'),(24113,'Senior Staff','1995-04-13','9999-01-01'),(24113,'Staff','1989-04-13','1995-04-13'),(24114,'Senior Staff','1997-02-16','9999-01-01'),(24115,'Senior Engineer','1989-03-29','1989-10-22'),(24116,'Engineer','1990-05-23','1999-05-23'),(24116,'Senior Engineer','1999-05-23','9999-01-01'),(24117,'Assistant Engineer','1985-07-06','1988-09-12'),(24118,'Senior Staff','1999-09-21','9999-01-01'),(24118,'Staff','1990-09-21','1999-09-21'),(24119,'Senior Staff','1992-11-05','9999-01-01'),(24119,'Staff','1986-11-06','1992-11-05'),(24120,'Technique Leader','1995-07-04','9999-01-01'),(24121,'Engineer','1985-09-03','1991-09-03'),(24121,'Senior Engineer','1991-09-03','9999-01-01'),(24122,'Engineer','1998-02-27','9999-01-01'),(24123,'Senior Staff','1990-01-16','1998-12-25'),(24124,'Engineer','1999-12-14','9999-01-01'),(24125,'Engineer','1989-07-07','1998-07-07'),(24125,'Senior Engineer','1998-07-07','9999-01-01'),(24126,'Senior Engineer','1986-09-14','9999-01-01'),(24127,'Senior Staff','1994-06-06','9999-01-01'),(24127,'Staff','1985-06-06','1994-06-06'),(24128,'Senior Engineer','1993-03-03','1993-05-03'),(24129,'Senior Staff','1991-11-16','9999-01-01'),(24129,'Staff','1985-11-16','1991-11-16'),(24130,'Senior Staff','1990-12-30','9999-01-01'),(24130,'Staff','1985-12-30','1990-12-30'),(24131,'Engineer','1987-03-19','1993-03-18'),(24131,'Senior Engineer','1993-03-18','9999-01-01'),(24132,'Engineer','1988-09-24','1993-09-24'),(24132,'Senior Engineer','1993-09-24','9999-01-01'),(24133,'Senior Staff','1995-02-04','9999-01-01'),(24134,'Senior Engineer','1999-06-22','9999-01-01'),(24135,'Engineer','1991-09-23','1997-09-22'),(24135,'Senior Engineer','1997-09-22','9999-01-01'),(24136,'Engineer','1987-09-24','1994-09-24'),(24136,'Senior Engineer','1994-09-24','9999-01-01'),(24137,'Engineer','1989-05-16','1992-04-30'),(24138,'Engineer','1994-11-28','9999-01-01'),(24139,'Senior Staff','1997-08-13','9999-01-01'),(24140,'Assistant Engineer','1986-12-07','1993-12-07'),(24140,'Engineer','1993-12-07','2000-12-07'),(24140,'Senior Engineer','2000-12-07','9999-01-01'),(24141,'Engineer','1993-12-10','2001-12-10'),(24141,'Senior Engineer','2001-12-10','9999-01-01'),(24142,'Technique Leader','1998-05-09','9999-01-01'),(24143,'Senior Engineer','1990-02-08','1998-04-13'),(24144,'Engineer','1999-10-11','9999-01-01'),(24145,'Senior Engineer','1990-02-23','9999-01-01'),(24146,'Technique Leader','1997-06-02','9999-01-01'),(24147,'Senior Staff','1999-09-13','9999-01-01'),(24147,'Staff','1991-09-13','1999-09-13'),(24148,'Senior Engineer','1990-01-24','1993-08-26'),(24149,'Engineer','1989-08-13','1994-08-13'),(24149,'Senior Engineer','1994-08-13','9999-01-01'),(24150,'Senior Staff','1995-08-16','9999-01-01'),(24151,'Engineer','1988-02-08','1996-02-08'),(24151,'Senior Engineer','1996-02-08','2000-01-22'),(24152,'Senior Staff','1991-06-30','9999-01-01'),(24152,'Staff','1986-06-30','1991-06-30'),(24153,'Senior Staff','2001-04-03','9999-01-01'),(24153,'Staff','1992-04-03','2001-04-03'),(24154,'Senior Staff','1997-11-04','9999-01-01'),(24154,'Staff','1988-11-04','1997-11-04'),(24155,'Engineer','1992-03-12','1997-03-12'),(24155,'Senior Engineer','1997-03-12','9999-01-01'),(24156,'Engineer','1995-09-17','9999-01-01'),(24157,'Staff','1999-04-16','9999-01-01'),(24158,'Senior Staff','1988-08-18','9999-01-01'),(24159,'Senior Staff','1985-09-23','9999-01-01'),(24160,'Senior Staff','1987-09-12','1989-09-28'),(24161,'Senior Staff','2001-05-01','9999-01-01'),(24161,'Staff','1996-05-01','2001-05-01'),(24162,'Senior Staff','2002-04-16','9999-01-01'),(24162,'Staff','1994-04-16','2002-04-16'),(24163,'Senior Staff','1993-11-10','9999-01-01'),(24163,'Staff','1987-11-11','1993-11-10'),(24164,'Staff','1999-08-05','9999-01-01'),(24165,'Senior Engineer','1990-05-09','9999-01-01'),(24166,'Senior Staff','1991-12-31','9999-01-01'),(24167,'Engineer','1986-09-01','1991-09-01'),(24167,'Senior Engineer','1991-09-01','9999-01-01'),(24168,'Engineer','1998-02-05','2000-06-28'),(24169,'Engineer','1998-05-29','9999-01-01'),(24170,'Engineer','1989-05-22','1997-05-22'),(24170,'Senior Engineer','1997-05-22','9999-01-01'),(24171,'Senior Engineer','1989-07-11','9999-01-01'),(24172,'Staff','1995-08-20','9999-01-01'),(24173,'Senior Staff','1990-04-04','1994-09-29'),(24174,'Senior Staff','1996-02-06','9999-01-01'),(24174,'Staff','1988-02-06','1996-02-06'),(24175,'Senior Staff','1999-09-19','9999-01-01'),(24175,'Staff','1990-09-19','1999-09-19'),(24176,'Engineer','1987-04-13','1995-04-13'),(24176,'Senior Engineer','1995-04-13','9999-01-01'),(24177,'Senior Staff','1986-04-09','1990-01-29'),(24178,'Engineer','1999-09-25','9999-01-01'),(24179,'Senior Staff','1994-08-03','9999-01-01'),(24179,'Staff','1989-08-03','1994-08-03'),(24180,'Staff','1998-06-12','9999-01-01'),(24181,'Engineer','1996-08-05','9999-01-01'),(24182,'Engineer','1987-09-04','1995-09-04'),(24182,'Senior Engineer','1995-09-04','9999-01-01'),(24183,'Senior Staff','1990-05-03','9999-01-01'),(24183,'Staff','1985-05-03','1990-05-03'),(24184,'Staff','1997-10-06','9999-01-01'),(24185,'Engineer','1997-03-19','1999-06-29'),(24186,'Engineer','1987-10-31','1996-05-06'),(24187,'Senior Staff','2000-11-07','9999-01-01'),(24187,'Staff','1994-11-08','2000-11-07'),(24188,'Senior Engineer','1990-07-09','9999-01-01'),(24189,'Staff','1993-03-28','1997-02-23'),(24190,'Senior Staff','1997-04-02','9999-01-01'),(24190,'Staff','1991-04-03','1997-04-02'),(24191,'Engineer','1988-02-17','1996-02-17'),(24191,'Senior Engineer','1996-02-17','9999-01-01'),(24192,'Engineer','1985-04-09','1993-04-09'),(24192,'Senior Engineer','1993-04-09','9999-01-01'),(24193,'Senior Engineer','1989-12-17','1995-09-22'),(24194,'Engineer','1995-01-29','9999-01-01'),(24195,'Senior Engineer','1991-04-11','9999-01-01'),(24196,'Engineer','1999-12-20','9999-01-01'),(24197,'Senior Engineer','1992-02-01','9999-01-01'),(24198,'Engineer','1990-10-04','1997-10-04'),(24198,'Senior Engineer','1997-10-04','9999-01-01'),(24199,'Senior Engineer','1985-09-20','9999-01-01'),(24200,'Engineer','1998-12-06','9999-01-01'),(24201,'Senior Staff','1992-01-25','9999-01-01'),(24202,'Assistant Engineer','1990-01-15','1997-09-23'),(24203,'Senior Staff','1987-12-30','1993-12-05'),(24204,'Engineer','1993-08-24','9999-01-01'),(24205,'Senior Engineer','1993-09-19','9999-01-01'),(24206,'Engineer','1989-06-04','1995-06-04'),(24206,'Senior Engineer','1995-06-04','9999-01-01'),(24207,'Assistant Engineer','1993-03-27','2002-03-27'),(24207,'Engineer','2002-03-27','9999-01-01'),(24208,'Staff','1998-02-16','9999-01-01'),(24209,'Senior Engineer','1998-01-26','9999-01-01'),(24210,'Senior Staff','1997-01-07','9999-01-01'),(24210,'Staff','1988-01-08','1997-01-07'),(24211,'Senior Staff','1997-10-22','2001-01-31'),(24211,'Staff','1991-10-23','1997-10-22'),(24212,'Engineer','1994-01-07','2002-01-07'),(24212,'Senior Engineer','2002-01-07','9999-01-01'),(24213,'Senior Staff','1995-01-03','9999-01-01'),(24213,'Staff','1989-01-03','1995-01-03'),(24214,'Engineer','1991-12-29','1998-12-29'),(24214,'Senior Engineer','1998-12-29','9999-01-01'),(24215,'Staff','1997-06-13','9999-01-01'),(24216,'Engineer','1986-03-20','1991-03-20'),(24216,'Senior Engineer','1991-03-20','9999-01-01'),(24217,'Staff','1997-04-12','2001-01-31'),(24218,'Engineer','1990-09-18','1999-09-18'),(24218,'Senior Engineer','1999-09-18','9999-01-01'),(24219,'Engineer','1991-11-19','1996-11-18'),(24219,'Senior Engineer','1996-11-18','9999-01-01'),(24220,'Engineer','1992-01-05','2000-01-05'),(24220,'Senior Engineer','2000-01-05','9999-01-01'),(24221,'Engineer','1992-06-26','2000-06-26'),(24221,'Senior Engineer','2000-06-26','2001-09-29'),(24222,'Engineer','1995-09-22','9999-01-01'),(24223,'Engineer','1985-03-26','1991-03-26'),(24223,'Senior Engineer','1991-03-26','9999-01-01'),(24224,'Engineer','1990-03-29','1995-03-29'),(24224,'Senior Engineer','1995-03-29','9999-01-01'),(24225,'Senior Staff','1994-11-08','9999-01-01'),(24225,'Staff','1988-11-08','1994-11-08'),(24226,'Senior Staff','1996-06-30','2000-10-26'),(24226,'Staff','1988-06-30','1996-06-30'),(24227,'Engineer','1993-05-07','2002-05-07'),(24227,'Senior Engineer','2002-05-07','9999-01-01'),(24228,'Engineer','1996-10-27','9999-01-01'),(24229,'Staff','1997-01-12','9999-01-01'),(24230,'Assistant Engineer','1986-09-21','1995-09-21'),(24230,'Engineer','1995-09-21','9999-01-01'),(24231,'Senior Staff','1998-11-21','9999-01-01'),(24231,'Staff','1992-11-21','1998-11-21'),(24232,'Engineer','1989-07-06','1997-07-06'),(24232,'Senior Engineer','1997-07-06','9999-01-01'),(24233,'Senior Staff','2000-08-29','9999-01-01'),(24233,'Staff','1995-08-30','2000-08-29'),(24234,'Senior Staff','1986-07-13','1997-11-04'),(24235,'Engineer','1992-02-28','1998-02-27'),(24235,'Senior Engineer','1998-02-27','9999-01-01'),(24236,'Staff','1997-05-11','9999-01-01'),(24237,'Engineer','1998-02-26','9999-01-01'),(24238,'Engineer','1994-08-17','1999-08-17'),(24238,'Senior Engineer','1999-08-17','2000-10-22'),(24239,'Engineer','1995-07-27','2001-07-26'),(24239,'Senior Engineer','2001-07-26','9999-01-01'),(24240,'Engineer','1989-07-18','1997-07-18'),(24240,'Senior Engineer','1997-07-18','9999-01-01'),(24241,'Senior Staff','1993-01-06','9999-01-01'),(24241,'Staff','1987-01-07','1993-01-06'),(24242,'Engineer','1989-10-19','1994-10-19'),(24242,'Senior Engineer','1994-10-19','9999-01-01'),(24243,'Senior Staff','2002-04-18','9999-01-01'),(24243,'Staff','1997-04-18','2002-04-18'),(24244,'Engineer','1988-10-24','1996-10-24'),(24244,'Senior Engineer','1996-10-24','9999-01-01'),(24245,'Engineer','1999-12-13','2001-02-12'),(24246,'Senior Staff','1992-08-30','9999-01-01'),(24247,'Engineer','1999-09-19','9999-01-01'),(24248,'Engineer','1991-10-07','1996-10-06'),(24248,'Senior Engineer','1996-10-06','9999-01-01'),(24249,'Staff','1999-04-16','9999-01-01'),(24250,'Engineer','1990-10-18','1994-02-08'),(24251,'Senior Staff','1985-03-18','9999-01-01'),(24252,'Senior Staff','2002-07-03','9999-01-01'),(24252,'Staff','1996-07-03','2002-07-03'),(24253,'Senior Staff','1999-07-01','9999-01-01'),(24253,'Staff','1993-07-01','1999-07-01'),(24254,'Engineer','1988-08-07','1993-08-07'),(24254,'Senior Engineer','1993-08-07','9999-01-01'),(24255,'Senior Engineer','1985-05-25','9999-01-01'),(24256,'Assistant Engineer','1988-01-19','1996-01-19'),(24256,'Engineer','1996-01-19','9999-01-01'),(24257,'Engineer','1997-01-04','9999-01-01'),(24258,'Senior Staff','1992-05-16','1994-01-11'),(24259,'Engineer','1990-01-24','1999-01-24'),(24259,'Senior Engineer','1999-01-24','9999-01-01'),(24260,'Engineer','1988-01-15','1993-01-14'),(24260,'Senior Engineer','1993-01-14','9999-01-01'),(24261,'Senior Staff','1992-04-25','1992-08-20'),(24262,'Staff','1996-01-23','9999-01-01'),(24263,'Engineer','1993-11-06','9999-01-01'),(24264,'Senior Staff','1998-11-16','9999-01-01'),(24264,'Staff','1992-11-16','1998-11-16'),(24265,'Senior Staff','1995-12-13','9999-01-01'),(24266,'Technique Leader','1997-01-23','1998-02-16'),(24267,'Engineer','1997-03-26','9999-01-01'),(24268,'Engineer','1988-06-01','1993-06-01'),(24268,'Senior Engineer','1993-06-01','9999-01-01'),(24269,'Engineer','1988-01-26','1994-01-25'),(24269,'Senior Engineer','1994-01-25','9999-01-01'),(24270,'Engineer','1999-05-09','2000-01-01'),(24271,'Staff','1999-08-20','9999-01-01'),(24272,'Staff','1994-10-08','9999-01-01'),(24273,'Engineer','1998-04-08','9999-01-01'),(24274,'Senior Staff','1995-11-08','9999-01-01'),(24274,'Staff','1987-11-08','1995-11-08'),(24275,'Engineer','1986-01-19','1995-01-19'),(24275,'Senior Engineer','1995-01-19','9999-01-01'),(24276,'Staff','1996-07-28','2000-07-17'),(24277,'Engineer','1993-09-10','1999-09-10'),(24277,'Senior Engineer','1999-09-10','9999-01-01'),(24278,'Staff','1998-08-22','9999-01-01'),(24279,'Senior Staff','1996-04-10','9999-01-01'),(24279,'Staff','1990-04-11','1996-04-10'),(24280,'Senior Staff','2002-04-06','9999-01-01'),(24280,'Staff','1997-04-06','2002-04-06'),(24281,'Engineer','1998-10-11','9999-01-01'),(24282,'Senior Staff','1989-03-12','9999-01-01'),(24283,'Engineer','1991-10-15','1997-10-12'),(24284,'Senior Engineer','1995-08-03','9999-01-01'),(24285,'Staff','1999-08-28','9999-01-01'),(24286,'Senior Staff','1991-03-05','9999-01-01'),(24286,'Staff','1986-03-05','1991-03-05'),(24287,'Senior Staff','1999-03-04','9999-01-01'),(24287,'Staff','1990-03-04','1999-03-04'),(24288,'Technique Leader','1993-07-19','1993-11-11'),(24289,'Senior Engineer','1994-11-11','9999-01-01'),(24290,'Senior Staff','1994-10-16','9999-01-01'),(24290,'Staff','1985-10-16','1994-10-16'),(24291,'Senior Staff','1993-05-20','9999-01-01'),(24291,'Staff','1985-05-20','1993-05-20'),(24292,'Engineer','1992-06-15','1993-07-27'),(24293,'Senior Staff','1992-12-10','9999-01-01'),(24293,'Staff','1987-12-11','1992-12-10'),(24294,'Engineer','1992-12-04','1998-12-04'),(24294,'Senior Engineer','1998-12-04','9999-01-01'),(24295,'Staff','1994-04-03','9999-01-01'),(24296,'Senior Staff','1998-08-02','9999-01-01'),(24296,'Staff','1992-08-02','1998-08-02'),(24297,'Staff','1996-08-01','1999-07-26'),(24298,'Engineer','1990-05-24','1997-05-24'),(24298,'Senior Engineer','1997-05-24','9999-01-01'),(24299,'Senior Engineer','1988-05-05','9999-01-01'),(24300,'Senior Staff','2002-03-11','9999-01-01'),(24300,'Staff','1997-03-11','2002-03-11'),(24301,'Technique Leader','1987-01-19','9999-01-01'),(24302,'Engineer','1988-10-28','1996-10-27'),(24302,'Senior Engineer','1996-10-27','9999-01-01'),(24303,'Assistant Engineer','1990-08-30','1996-08-29'),(24303,'Engineer','1996-08-29','9999-01-01'),(24304,'Staff','1993-04-16','1995-06-27'),(24305,'Engineer','1992-02-06','1999-02-06'),(24305,'Senior Engineer','1999-02-06','9999-01-01'),(24306,'Engineer','1985-08-22','1991-08-22'),(24306,'Senior Engineer','1991-08-22','9999-01-01'),(24307,'Senior Staff','1995-11-25','9999-01-01'),(24307,'Staff','1988-11-24','1995-11-25'),(24308,'Senior Staff','1994-09-04','9999-01-01'),(24308,'Staff','1989-09-04','1994-09-04'),(24309,'Engineer','1990-01-22','1995-01-22'),(24309,'Senior Engineer','1995-01-22','9999-01-01'),(24310,'Senior Staff','1993-05-25','9999-01-01'),(24311,'Senior Staff','1985-05-10','9999-01-01'),(24312,'Engineer','1987-02-10','1996-02-10'),(24312,'Senior Engineer','1996-02-10','1996-05-31'),(24313,'Assistant Engineer','1992-05-02','1997-05-02'),(24313,'Engineer','1997-05-02','2002-05-02'),(24313,'Senior Engineer','2002-05-02','9999-01-01'),(24314,'Senior Staff','2000-09-21','9999-01-01'),(24314,'Staff','1993-09-21','2000-09-21'),(24315,'Engineer','1994-04-23','1999-04-23'),(24315,'Senior Engineer','1999-04-23','9999-01-01'),(24316,'Engineer','1986-06-28','1994-06-28'),(24316,'Senior Engineer','1994-06-28','9999-01-01'),(24317,'Senior Staff','1996-07-29','9999-01-01'),(24318,'Engineer','1992-07-29','2001-07-29'),(24318,'Senior Engineer','2001-07-29','9999-01-01'),(24319,'Senior Staff','1996-06-22','1998-06-15'),(24319,'Staff','1990-06-23','1996-06-22'),(24320,'Assistant Engineer','1998-02-01','9999-01-01'),(24321,'Staff','1997-07-23','9999-01-01'),(24322,'Technique Leader','1991-05-24','9999-01-01'),(24323,'Senior Staff','1992-11-17','1996-01-10'),(24323,'Staff','1987-11-18','1992-11-17'),(24324,'Senior Staff','2000-08-28','9999-01-01'),(24324,'Staff','1993-08-28','2000-08-28'),(24325,'Senior Engineer','1993-01-28','2002-04-01'),(24326,'Senior Staff','2001-12-20','9999-01-01'),(24326,'Staff','1995-12-21','2001-12-20'),(24327,'Technique Leader','1986-11-25','9999-01-01'),(24328,'Senior Staff','2001-03-26','9999-01-01'),(24328,'Staff','1993-03-26','2001-03-26'),(24329,'Engineer','1987-05-10','1992-05-09'),(24329,'Senior Engineer','1992-05-09','9999-01-01'),(24330,'Engineer','1991-07-22','1992-11-05'),(24331,'Engineer','1998-02-07','2001-07-15'),(24332,'Senior Engineer','1995-01-15','9999-01-01'),(24333,'Engineer','1989-12-29','1995-12-29'),(24333,'Senior Engineer','1995-12-29','9999-01-01'),(24334,'Senior Staff','1992-10-16','9999-01-01'),(24334,'Staff','1987-10-17','1992-10-16'),(24335,'Senior Staff','2001-03-28','9999-01-01'),(24335,'Staff','1995-03-29','2001-03-28'),(24336,'Engineer','1994-10-09','9999-01-01'),(24337,'Assistant Engineer','1994-01-19','2000-01-19'),(24337,'Engineer','2000-01-19','9999-01-01'),(24338,'Technique Leader','1986-07-01','1993-06-02'),(24339,'Technique Leader','1996-01-08','9999-01-01'),(24340,'Senior Staff','1994-10-20','9999-01-01'),(24341,'Senior Staff','1997-07-18','1998-09-04'),(24342,'Engineer','1993-05-02','1994-03-20'),(24343,'Senior Staff','1996-04-08','9999-01-01'),(24343,'Staff','1988-04-08','1996-04-08'),(24344,'Senior Staff','2000-08-26','9999-01-01'),(24344,'Staff','1994-08-27','2000-08-26'),(24345,'Senior Staff','1998-09-07','2001-06-09'),(24345,'Staff','1993-09-07','1998-09-07'),(24346,'Engineer','1991-07-08','1998-07-08'),(24346,'Senior Engineer','1998-07-08','2000-12-11'),(24347,'Technique Leader','1985-08-28','9999-01-01'),(24348,'Senior Staff','1992-03-06','9999-01-01'),(24348,'Staff','1986-03-07','1992-03-06'),(24349,'Engineer','1991-03-01','2000-02-29'),(24349,'Senior Engineer','2000-02-29','9999-01-01'),(24350,'Staff','1991-08-14','1993-03-20'),(24351,'Engineer','1996-07-09','9999-01-01'),(24352,'Engineer','1995-05-02','9999-01-01'),(24353,'Engineer','1997-01-06','1999-08-26'),(24354,'Staff','1996-06-10','9999-01-01'),(24355,'Senior Engineer','1996-02-26','9999-01-01'),(24356,'Senior Engineer','1992-07-10','9999-01-01'),(24357,'Engineer','1996-01-12','9999-01-01'),(24358,'Senior Engineer','1993-08-16','2002-06-07'),(24359,'Engineer','1997-07-24','2002-07-24'),(24359,'Senior Engineer','2002-07-24','9999-01-01'),(24360,'Senior Staff','2001-09-15','9999-01-01'),(24360,'Staff','1994-09-15','2001-09-15'),(24361,'Engineer','1992-02-24','2000-02-24'),(24361,'Senior Engineer','2000-02-24','9999-01-01'),(24362,'Staff','1996-05-15','9999-01-01'),(24363,'Assistant Engineer','1987-12-19','1996-12-18'),(24363,'Engineer','1996-12-18','9999-01-01'),(24364,'Engineer','1985-04-08','1994-04-08'),(24364,'Senior Engineer','1994-04-08','1999-12-13'),(24365,'Senior Engineer','1989-01-13','9999-01-01'),(24366,'Senior Engineer','1994-04-06','9999-01-01'),(24367,'Technique Leader','1993-02-14','9999-01-01'),(24368,'Engineer','1991-10-09','1992-12-10'),(24369,'Engineer','1993-11-07','1999-11-07'),(24369,'Senior Engineer','1999-11-07','2001-04-03'),(24370,'Senior Engineer','1991-07-29','9999-01-01'),(24371,'Senior Engineer','1989-03-20','9999-01-01'),(24372,'Staff','1997-05-07','1998-09-26'),(24373,'Senior Staff','1995-03-19','9999-01-01'),(24374,'Senior Staff','1998-12-05','9999-01-01'),(24374,'Staff','1989-12-05','1998-12-05'),(24375,'Senior Staff','2000-02-27','9999-01-01'),(24375,'Staff','1992-02-27','2000-02-27'),(24376,'Assistant Engineer','1988-05-01','1994-05-01'),(24376,'Engineer','1994-05-01','2000-04-30'),(24376,'Senior Engineer','2000-04-30','9999-01-01'),(24377,'Engineer','1993-07-25','2000-07-25'),(24377,'Senior Engineer','2000-07-25','9999-01-01'),(24378,'Assistant Engineer','1985-05-24','1992-05-24'),(24378,'Engineer','1992-05-24','1999-05-25'),(24378,'Senior Engineer','1999-05-25','9999-01-01'),(24379,'Senior Staff','1996-02-10','9999-01-01'),(24379,'Staff','1987-02-10','1996-02-10'),(24380,'Senior Engineer','1989-03-24','1991-03-09'),(24381,'Senior Staff','2001-06-13','9999-01-01'),(24381,'Staff','1994-06-13','2001-06-13'),(24382,'Senior Staff','1995-05-14','9999-01-01'),(24382,'Staff','1987-05-14','1995-05-14'),(24383,'Engineer','1996-06-30','2002-06-30'),(24383,'Senior Engineer','2002-06-30','9999-01-01'),(24384,'Senior Staff','2001-11-01','9999-01-01'),(24384,'Staff','1995-11-02','2001-11-01'),(24385,'Staff','1997-09-07','9999-01-01'),(24386,'Staff','1997-08-19','9999-01-01'),(24387,'Engineer','1987-12-19','1992-12-18'),(24387,'Senior Engineer','1992-12-18','2002-06-01'),(24388,'Senior Staff','1994-07-07','9999-01-01'),(24388,'Staff','1988-07-07','1994-07-07'),(24389,'Senior Engineer','1993-01-06','9999-01-01'),(24390,'Engineer','1993-02-19','2000-02-20'),(24390,'Senior Engineer','2000-02-20','9999-01-01'),(24391,'Staff','1999-08-14','9999-01-01'),(24392,'Senior Staff','1990-03-17','9999-01-01'),(24392,'Staff','1985-03-17','1990-03-17'),(24393,'Engineer','1985-09-07','1989-01-23'),(24394,'Staff','1994-09-10','9999-01-01'),(24395,'Senior Staff','1997-04-14','9999-01-01'),(24395,'Staff','1988-04-14','1997-04-14'),(24396,'Engineer','1992-11-09','1998-11-09'),(24396,'Senior Engineer','1998-11-09','9999-01-01'),(24397,'Senior Staff','1994-03-28','9999-01-01'),(24397,'Staff','1988-03-28','1994-03-28'),(24398,'Engineer','1991-12-15','1999-12-15'),(24398,'Senior Engineer','1999-12-15','9999-01-01'),(24399,'Engineer','1997-10-13','9999-01-01'),(24400,'Engineer','1991-03-06','1996-03-05'),(24400,'Senior Engineer','1996-03-05','1998-04-27'),(24401,'Staff','1998-01-25','9999-01-01'),(24402,'Technique Leader','1986-07-03','1995-04-01'),(24403,'Senior Engineer','1992-12-06','9999-01-01'),(24404,'Engineer','1999-08-10','9999-01-01'),(24405,'Senior Staff','2001-04-24','9999-01-01'),(24405,'Staff','1993-04-24','2001-04-24'),(24406,'Senior Staff','1992-08-22','9999-01-01'),(24406,'Staff','1985-08-22','1992-08-22'),(24407,'Senior Engineer','1986-06-25','9999-01-01'),(24408,'Staff','1986-07-17','1991-03-16'),(24409,'Staff','1998-04-15','9999-01-01'),(24410,'Senior Staff','1996-12-29','9999-01-01'),(24410,'Staff','1988-12-29','1996-12-29'),(24411,'Senior Staff','2001-04-23','9999-01-01'),(24411,'Staff','1995-04-24','2001-04-23'),(24412,'Engineer','1989-05-30','1994-05-30'),(24412,'Senior Engineer','1994-05-30','9999-01-01'),(24413,'Engineer','1993-02-21','1998-02-21'),(24413,'Senior Engineer','1998-02-21','9999-01-01'),(24414,'Senior Staff','1995-06-30','9999-01-01'),(24414,'Staff','1988-06-29','1995-06-30'),(24415,'Engineer','1993-12-23','2000-12-23'),(24415,'Senior Engineer','2000-12-23','9999-01-01'),(24416,'Engineer','1985-05-16','1993-05-16'),(24416,'Senior Engineer','1993-05-16','1997-12-10'),(24417,'Staff','1996-02-08','9999-01-01'),(24418,'Senior Staff','1994-08-27','9999-01-01'),(24418,'Staff','1989-08-27','1994-08-27'),(24419,'Senior Staff','1996-02-18','9999-01-01'),(24419,'Staff','1988-02-18','1996-02-18'),(24420,'Senior Staff','1994-09-23','9999-01-01'),(24421,'Senior Engineer','1990-09-01','2000-10-12'),(24422,'Staff','1998-05-07','9999-01-01'),(24423,'Engineer','1997-05-30','9999-01-01'),(24424,'Engineer','1997-12-31','9999-01-01'),(24425,'Engineer','1993-12-22','2001-12-22'),(24425,'Senior Engineer','2001-12-22','9999-01-01'),(24426,'Engineer','1997-05-28','9999-01-01'),(24427,'Technique Leader','1987-02-28','9999-01-01'),(24428,'Senior Staff','1997-12-17','9999-01-01'),(24429,'Senior Staff','2001-01-13','9999-01-01'),(24429,'Staff','1992-01-14','2001-01-13'),(24430,'Technique Leader','1996-07-10','2000-12-01'),(24431,'Senior Staff','1990-09-15','9999-01-01'),(24432,'Senior Staff','1995-05-29','9999-01-01'),(24432,'Staff','1989-05-29','1995-05-29'),(24433,'Engineer','1996-07-11','9999-01-01'),(24434,'Engineer','1991-11-05','1998-11-05'),(24434,'Senior Engineer','1998-11-05','9999-01-01'),(24435,'Engineer','1994-01-07','2001-01-07'),(24435,'Senior Engineer','2001-01-07','2002-04-16'),(24436,'Engineer','1992-09-04','1999-09-05'),(24436,'Senior Engineer','1999-09-05','9999-01-01'),(24437,'Senior Engineer','1992-08-29','9999-01-01'),(24438,'Engineer','1988-07-25','1995-07-26'),(24438,'Senior Engineer','1995-07-26','9999-01-01'),(24439,'Technique Leader','1997-03-30','9999-01-01'),(24440,'Senior Staff','2001-04-20','9999-01-01'),(24440,'Staff','1996-04-20','2001-04-20'),(24441,'Senior Staff','1997-02-15','9999-01-01'),(24442,'Engineer','1995-08-19','9999-01-01'),(24443,'Senior Staff','1998-12-17','9999-01-01'),(24443,'Staff','1992-12-17','1998-12-17'),(24444,'Engineer','1990-01-23','1995-01-23'),(24444,'Senior Engineer','1995-01-23','2002-06-08'),(24445,'Technique Leader','1999-12-14','9999-01-01'),(24446,'Staff','1996-05-18','2000-04-16'),(24447,'Assistant Engineer','1989-02-14','1997-02-14'),(24447,'Engineer','1997-02-14','9999-01-01'),(24448,'Senior Engineer','1992-01-02','9999-01-01'),(24449,'Senior Staff','1999-03-06','2000-06-20'),(24449,'Staff','1994-03-06','1999-03-06'),(24450,'Engineer','1987-06-29','1992-06-28'),(24450,'Senior Engineer','1992-06-28','9999-01-01'),(24451,'Senior Staff','1999-03-06','9999-01-01'),(24451,'Staff','1990-03-06','1999-03-06'),(24452,'Staff','1996-09-05','9999-01-01'),(24453,'Engineer','1997-04-08','9999-01-01'),(24454,'Senior Staff','2000-03-16','9999-01-01'),(24454,'Staff','1991-03-17','2000-03-16'),(24455,'Senior Staff','1999-05-14','1999-10-03'),(24455,'Staff','1993-05-14','1999-05-14'),(24456,'Engineer','1991-12-12','1999-12-12'),(24456,'Senior Engineer','1999-12-12','9999-01-01'),(24457,'Engineer','1988-07-25','1996-07-25'),(24457,'Senior Engineer','1996-07-25','9999-01-01'),(24458,'Assistant Engineer','1992-03-01','1997-03-01'),(24458,'Engineer','1997-03-01','2002-03-01'),(24458,'Senior Engineer','2002-03-01','9999-01-01'),(24459,'Engineer','1988-01-08','1996-01-08'),(24459,'Senior Engineer','1996-01-08','9999-01-01'),(24460,'Senior Staff','1999-02-17','9999-01-01'),(24460,'Staff','1993-02-17','1999-02-17'),(24461,'Engineer','1997-06-06','9999-01-01'),(24462,'Senior Engineer','1985-07-10','1994-05-24'),(24463,'Engineer','1994-06-12','2002-06-12'),(24463,'Senior Engineer','2002-06-12','9999-01-01'),(24464,'Technique Leader','1996-05-18','9999-01-01'),(24465,'Staff','1992-06-18','1995-05-03'),(24466,'Engineer','1997-04-11','9999-01-01'),(24467,'Senior Staff','1993-04-09','9999-01-01'),(24467,'Staff','1985-04-09','1993-04-09'),(24468,'Engineer','1992-02-17','1998-02-16'),(24468,'Senior Engineer','1998-02-16','9999-01-01'),(24469,'Senior Staff','1997-10-12','2000-03-07'),(24469,'Staff','1992-10-12','1997-10-12'),(24470,'Senior Engineer','1995-11-01','9999-01-01'),(24471,'Senior Staff','2002-01-01','9999-01-01'),(24471,'Staff','1996-01-02','2002-01-01'),(24472,'Engineer','1985-08-14','1993-08-14'),(24472,'Senior Engineer','1993-08-14','9999-01-01'),(24473,'Senior Staff','1999-05-22','9999-01-01'),(24473,'Staff','1993-05-22','1999-05-22'),(24474,'Engineer','1995-12-06','9999-01-01'),(24475,'Engineer','1993-04-19','1994-12-22'),(24476,'Engineer','1988-03-09','1997-03-09'),(24476,'Senior Engineer','1997-03-09','9999-01-01'),(24477,'Engineer','1987-08-29','1996-08-28'),(24477,'Senior Engineer','1996-08-28','9999-01-01'),(24478,'Staff','1996-12-07','2002-05-23'),(24479,'Senior Staff','1993-08-03','9999-01-01'),(24480,'Engineer','1991-11-29','1996-11-28'),(24480,'Senior Engineer','1996-11-28','9999-01-01'),(24481,'Staff','1986-03-16','1987-03-05'),(24482,'Technique Leader','1992-06-26','9999-01-01'),(24483,'Engineer','1986-09-23','1992-09-22'),(24483,'Senior Engineer','1992-09-22','9999-01-01'),(24484,'Senior Staff','1997-11-11','9999-01-01'),(24484,'Staff','1989-11-11','1997-11-11'),(24485,'Engineer','1987-10-18','1989-01-02'),(24486,'Senior Staff','1992-01-24','9999-01-01'),(24487,'Engineer','1988-11-07','1996-11-07'),(24487,'Senior Engineer','1996-11-07','2001-11-20'),(24488,'Senior Engineer','1990-09-27','9999-01-01'),(24489,'Staff','1994-06-29','2001-08-06'),(24490,'Senior Staff','2001-11-25','9999-01-01'),(24490,'Staff','1992-11-25','2001-11-25'),(24491,'Senior Staff','2001-12-12','9999-01-01'),(24491,'Staff','1995-12-13','2001-12-12'),(24492,'Engineer','1999-04-16','9999-01-01'),(24493,'Engineer','1989-12-07','1994-12-07'),(24493,'Senior Engineer','1994-12-07','9999-01-01'),(24494,'Engineer','1997-02-13','9999-01-01'),(24495,'Engineer','1999-06-08','9999-01-01'),(24496,'Staff','1988-03-08','1992-10-03'),(24497,'Engineer','1991-06-13','1997-06-12'),(24497,'Senior Engineer','1997-06-12','9999-01-01'),(24498,'Senior Staff','1997-07-09','9999-01-01'),(24498,'Staff','1989-07-09','1997-07-09'),(24499,'Senior Staff','1997-09-04','9999-01-01'),(24500,'Senior Staff','1995-06-12','9999-01-01'),(24500,'Staff','1987-06-12','1995-06-12'),(24501,'Engineer','1988-10-07','1995-10-08'),(24501,'Senior Engineer','1995-10-08','9999-01-01'),(24502,'Senior Staff','2001-10-09','9999-01-01'),(24502,'Staff','1995-10-11','2001-10-09'),(24503,'Engineer','1992-08-04','1998-08-04'),(24503,'Senior Engineer','1998-08-04','9999-01-01'),(24504,'Engineer','1994-08-22','2001-08-22'),(24504,'Senior Engineer','2001-08-22','9999-01-01'),(24505,'Senior Staff','2000-04-08','2000-09-19'),(24505,'Staff','1994-04-09','2000-04-08'),(24506,'Engineer','1999-03-10','9999-01-01'),(24507,'Engineer','1998-04-13','9999-01-01'),(24508,'Engineer','1992-04-25','1997-04-25'),(24508,'Senior Engineer','1997-04-25','9999-01-01'),(24509,'Senior Engineer','1991-12-04','9999-01-01'),(24510,'Senior Staff','1991-03-13','9999-01-01'),(24510,'Staff','1986-03-13','1991-03-13'),(24511,'Engineer','1989-03-19','1996-03-19'),(24511,'Senior Engineer','1996-03-19','9999-01-01'),(24512,'Engineer','1998-12-19','2000-11-30'),(24513,'Senior Staff','2001-09-06','9999-01-01'),(24513,'Staff','1994-09-06','2001-09-06'),(24514,'Engineer','1992-02-27','1998-02-26'),(24514,'Senior Engineer','1998-02-26','9999-01-01'),(24515,'Engineer','1988-08-23','1994-08-23'),(24515,'Senior Engineer','1994-08-23','9999-01-01'),(24516,'Senior Staff','1997-01-07','9999-01-01'),(24516,'Staff','1991-01-08','1997-01-07'),(24517,'Engineer','1992-08-16','2000-08-16'),(24517,'Senior Engineer','2000-08-16','9999-01-01'),(24518,'Engineer','1988-09-13','1996-09-13'),(24518,'Senior Engineer','1996-09-13','9999-01-01'),(24519,'Staff','1988-10-15','1995-06-26'),(24520,'Senior Staff','1994-12-09','9999-01-01'),(24520,'Staff','1985-12-09','1994-12-09'),(24521,'Senior Engineer','1992-01-05','9999-01-01'),(24522,'Senior Staff','1995-01-26','9999-01-01'),(24522,'Staff','1988-01-26','1995-01-26'),(24523,'Engineer','1992-10-11','2001-10-11'),(24523,'Senior Engineer','2001-10-11','9999-01-01'),(24524,'Engineer','1995-06-22','1996-10-17'),(24525,'Engineer','1988-04-03','1995-04-04'),(24525,'Senior Engineer','1995-04-04','9999-01-01'),(24526,'Technique Leader','1992-07-25','9999-01-01'),(24527,'Technique Leader','1999-07-10','9999-01-01'),(24528,'Engineer','1998-07-22','9999-01-01'),(24529,'Staff','1994-01-11','1994-10-09'),(24530,'Staff','1999-01-07','9999-01-01'),(24531,'Engineer','1986-06-16','1993-06-16'),(24531,'Senior Engineer','1993-06-16','9999-01-01'),(24532,'Senior Staff','1991-02-25','9999-01-01'),(24532,'Staff','1985-02-25','1991-02-25'),(24533,'Senior Engineer','1986-12-06','9999-01-01'),(24534,'Engineer','1988-10-23','1993-10-23'),(24534,'Senior Engineer','1993-10-23','9999-01-01'),(24535,'Staff','1996-08-14','1997-10-29'),(24536,'Engineer','1995-07-13','2002-07-13'),(24536,'Senior Engineer','2002-07-13','9999-01-01'),(24537,'Senior Staff','1996-06-18','9999-01-01'),(24537,'Staff','1989-06-18','1996-06-18'),(24538,'Technique Leader','1998-07-04','9999-01-01'),(24539,'Staff','1990-07-26','1996-11-13'),(24540,'Engineer','1999-02-09','9999-01-01'),(24541,'Senior Staff','2001-11-13','9999-01-01'),(24541,'Staff','1992-11-13','2001-11-13'),(24542,'Engineer','1999-09-04','9999-01-01'),(24543,'Senior Staff','1995-06-09','9999-01-01'),(24544,'Senior Staff','2002-01-23','9999-01-01'),(24544,'Staff','1993-01-23','2002-01-23'),(24545,'Engineer','1989-10-30','1998-10-30'),(24545,'Senior Engineer','1998-10-30','9999-01-01'),(24546,'Senior Staff','2001-09-29','9999-01-01'),(24546,'Staff','1993-09-29','2001-09-29'),(24547,'Engineer','1987-12-09','1993-12-08'),(24547,'Senior Engineer','1993-12-08','9999-01-01'),(24548,'Staff','1993-03-18','1997-03-10'),(24549,'Senior Engineer','1995-02-02','1996-05-05'),(24550,'Engineer','1989-02-02','1997-02-02'),(24550,'Senior Engineer','1997-02-02','9999-01-01'),(24551,'Engineer','1995-01-10','2002-01-10'),(24551,'Senior Engineer','2002-01-10','9999-01-01'),(24552,'Engineer','1993-09-25','9999-01-01'),(24553,'Senior Staff','1994-01-30','9999-01-01'),(24553,'Staff','1987-01-30','1994-01-30'),(24554,'Engineer','1997-08-18','9999-01-01'),(24555,'Senior Staff','1995-11-29','9999-01-01'),(24555,'Staff','1990-11-29','1995-11-29'),(24556,'Senior Staff','1992-04-21','9999-01-01'),(24556,'Staff','1987-04-22','1992-04-21'),(24557,'Engineer','1987-09-30','1989-05-19'),(24558,'Senior Engineer','1992-05-24','9999-01-01'),(24559,'Engineer','1986-04-13','1992-04-12'),(24559,'Senior Engineer','1992-04-12','9999-01-01'),(24560,'Assistant Engineer','1989-01-23','1994-01-23'),(24560,'Engineer','1994-01-23','1999-01-23'),(24560,'Senior Engineer','1999-01-23','9999-01-01'),(24561,'Senior Staff','1998-03-03','9999-01-01'),(24561,'Staff','1992-03-03','1998-03-03'),(24562,'Senior Staff','1994-05-23','9999-01-01'),(24562,'Staff','1985-05-23','1994-05-23'),(24563,'Senior Staff','1998-10-25','9999-01-01'),(24563,'Staff','1990-10-26','1998-10-25'),(24564,'Staff','1995-10-12','9999-01-01'),(24565,'Engineer','1994-03-01','2002-03-01'),(24565,'Senior Engineer','2002-03-01','9999-01-01'),(24566,'Senior Engineer','1997-02-08','1997-05-16'),(24567,'Staff','1997-09-12','9999-01-01'),(24568,'Staff','1996-02-11','9999-01-01'),(24569,'Staff','1993-06-27','1994-06-22'),(24570,'Engineer','1999-08-30','9999-01-01'),(24571,'Engineer','1989-03-14','1995-03-14'),(24571,'Senior Engineer','1995-03-14','9999-01-01'),(24572,'Senior Staff','1988-09-19','9999-01-01'),(24573,'Senior Engineer','1995-05-18','9999-01-01'),(24574,'Engineer','1995-06-10','2000-06-09'),(24574,'Senior Engineer','2000-06-09','9999-01-01'),(24575,'Engineer','1990-06-25','1997-12-29'),(24576,'Senior Staff','1992-03-08','9999-01-01'),(24576,'Staff','1987-03-09','1992-03-08'),(24577,'Senior Staff','1992-11-14','9999-01-01'),(24578,'Senior Staff','1991-07-15','9999-01-01'),(24578,'Staff','1986-07-15','1991-07-15'),(24579,'Engineer','1999-05-28','9999-01-01'),(24580,'Technique Leader','1999-08-04','9999-01-01'),(24581,'Staff','1997-09-08','9999-01-01'),(24582,'Engineer','1987-12-12','1988-06-27'),(24583,'Senior Engineer','1988-06-14','9999-01-01'),(24584,'Senior Engineer','1995-06-09','9999-01-01'),(24585,'Staff','1995-07-28','9999-01-01'),(24586,'Engineer','1998-10-28','9999-01-01'),(24587,'Senior Staff','1991-11-29','9999-01-01'),(24587,'Staff','1985-11-29','1991-11-29'),(24588,'Senior Staff','1998-03-27','9999-01-01'),(24588,'Staff','1989-03-27','1998-03-27'),(24589,'Staff','1997-08-04','9999-01-01'),(24590,'Assistant Engineer','1991-06-03','1995-09-27'),(24591,'Engineer','1992-01-24','2000-01-24'),(24591,'Senior Engineer','2000-01-24','9999-01-01'),(24592,'Senior Staff','2000-01-23','9999-01-01'),(24592,'Staff','1993-01-22','2000-01-23'),(24593,'Senior Staff','1999-05-18','9999-01-01'),(24594,'Staff','1996-08-07','9999-01-01'),(24595,'Engineer','1997-06-28','9999-01-01'),(24596,'Senior Staff','2002-07-02','9999-01-01'),(24596,'Staff','1994-07-02','2002-07-02'),(24597,'Staff','1996-02-01','1998-08-09'),(24598,'Senior Staff','1993-12-25','9999-01-01'),(24598,'Staff','1987-12-26','1993-12-25'),(24599,'Senior Staff','1999-06-15','9999-01-01'),(24599,'Staff','1994-06-15','1999-06-15'),(24600,'Technique Leader','1997-04-08','9999-01-01'),(24601,'Engineer','1986-10-23','1995-10-23'),(24601,'Senior Engineer','1995-10-23','9999-01-01'),(24602,'Engineer','1993-09-19','9999-01-01'),(24603,'Engineer','1989-02-02','1994-02-02'),(24603,'Senior Engineer','1994-02-02','9999-01-01'),(24604,'Engineer','1998-11-17','9999-01-01'),(24605,'Senior Staff','1999-03-03','9999-01-01'),(24605,'Staff','1993-03-03','1999-03-03'),(24606,'Engineer','1995-12-17','1996-03-21'),(24607,'Senior Engineer','1986-04-11','9999-01-01'),(24608,'Senior Staff','2000-03-25','9999-01-01'),(24608,'Staff','1993-03-25','2000-03-25'),(24609,'Engineer','1988-02-02','1997-02-01'),(24609,'Senior Engineer','1997-02-01','9999-01-01'),(24610,'Engineer','1997-11-25','9999-01-01'),(24611,'Engineer','1986-01-08','1993-01-08'),(24611,'Senior Engineer','1993-01-08','9999-01-01'),(24612,'Engineer','1985-12-18','1993-12-18'),(24612,'Senior Engineer','1993-12-18','9999-01-01'),(24613,'Senior Staff','1992-02-13','9999-01-01'),(24613,'Staff','1987-02-13','1992-02-13'),(24614,'Staff','1996-12-25','9999-01-01'),(24615,'Engineer','1989-11-06','1995-11-06'),(24615,'Senior Engineer','1995-11-06','1998-05-18'),(24616,'Engineer','1986-10-06','1992-10-05'),(24616,'Senior Engineer','1992-10-05','9999-01-01'),(24617,'Senior Engineer','1986-04-01','9999-01-01'),(24618,'Engineer','1990-08-23','1998-08-23'),(24618,'Senior Engineer','1998-08-23','9999-01-01'),(24619,'Engineer','1987-10-30','1989-10-22'),(24620,'Engineer','1995-07-06','2001-07-05'),(24620,'Senior Engineer','2001-07-05','9999-01-01'),(24621,'Staff','1991-10-06','1999-11-13'),(24622,'Engineer','1997-06-03','2002-06-03'),(24622,'Senior Engineer','2002-06-03','9999-01-01'),(24623,'Engineer','1986-10-21','1994-10-21'),(24623,'Senior Engineer','1994-10-21','9999-01-01'),(24624,'Senior Staff','1998-05-23','9999-01-01'),(24624,'Staff','1993-05-23','1998-05-23'),(24625,'Senior Staff','2001-08-21','9999-01-01'),(24625,'Staff','1994-08-21','2001-08-21'),(24626,'Senior Staff','1995-11-23','9999-01-01'),(24626,'Staff','1986-11-23','1995-11-23'),(24627,'Engineer','1987-12-27','1992-12-26'),(24627,'Senior Engineer','1992-12-26','9999-01-01'),(24628,'Engineer','1990-07-25','1996-07-24'),(24628,'Senior Engineer','1996-07-24','9999-01-01'),(24629,'Staff','1998-11-28','2000-12-05'),(24630,'Engineer','1996-01-24','9999-01-01'),(24631,'Senior Staff','2002-03-27','9999-01-01'),(24631,'Staff','1997-03-27','2002-03-27'),(24632,'Staff','1999-01-20','9999-01-01'),(24633,'Senior Staff','1995-09-05','9999-01-01'),(24634,'Senior Staff','2001-05-28','9999-01-01'),(24634,'Staff','1993-05-28','2001-05-28'),(24635,'Senior Staff','1994-03-19','9999-01-01'),(24636,'Technique Leader','1992-10-15','1997-11-27'),(24637,'Engineer','1996-08-18','2001-08-18'),(24637,'Senior Engineer','2001-08-18','9999-01-01'),(24638,'Technique Leader','1993-09-13','1998-02-23'),(24639,'Engineer','1987-02-20','1996-02-20'),(24639,'Senior Engineer','1996-02-20','9999-01-01'),(24640,'Senior Engineer','1991-08-06','9999-01-01'),(24641,'Engineer','1988-08-03','1996-08-03'),(24641,'Senior Engineer','1996-08-03','9999-01-01'),(24642,'Engineer','1988-02-20','1993-02-19'),(24642,'Senior Engineer','1993-02-19','9999-01-01'),(24643,'Staff','1998-02-01','9999-01-01'),(24644,'Engineer','1987-01-23','1992-01-23'),(24644,'Senior Engineer','1992-01-23','9999-01-01'),(24645,'Senior Engineer','1993-01-08','1995-04-05'),(24646,'Senior Staff','1995-12-20','9999-01-01'),(24646,'Staff','1988-12-19','1995-12-20'),(24647,'Senior Engineer','1989-07-09','9999-01-01'),(24648,'Engineer','1985-11-03','1992-11-03'),(24648,'Senior Engineer','1992-11-03','9999-01-01'),(24649,'Senior Staff','2001-06-28','9999-01-01'),(24649,'Staff','1992-06-28','2001-06-28'),(24650,'Engineer','1987-01-31','1995-01-31'),(24650,'Senior Engineer','1995-01-31','9999-01-01'),(24651,'Senior Staff','2001-04-18','9999-01-01'),(24651,'Staff','1996-04-18','2001-04-18'),(24652,'Assistant Engineer','1999-12-04','9999-01-01'),(24653,'Staff','1998-09-10','9999-01-01'),(24654,'Staff','1998-08-17','1998-12-10'),(24655,'Senior Staff','1997-07-21','9999-01-01'),(24655,'Staff','1988-07-21','1997-07-21'),(24656,'Engineer','1998-10-30','9999-01-01'),(24657,'Engineer','1990-01-26','1997-01-26'),(24657,'Senior Engineer','1997-01-26','9999-01-01'),(24658,'Senior Staff','1998-06-27','9999-01-01'),(24659,'Senior Staff','1989-08-15','9999-01-01'),(24660,'Staff','1995-06-16','9999-01-01'),(24661,'Assistant Engineer','2000-01-30','2000-05-19'),(24662,'Senior Staff','2000-03-09','9999-01-01'),(24662,'Staff','1994-03-10','2000-03-09'),(24663,'Engineer','1989-08-20','1995-08-20'),(24663,'Senior Engineer','1995-08-20','9999-01-01'),(24664,'Staff','1995-08-07','9999-01-01'),(24665,'Staff','1995-09-20','9999-01-01'),(24666,'Senior Staff','1998-03-31','9999-01-01'),(24667,'Engineer','1994-07-23','1995-04-01'),(24668,'Technique Leader','1985-09-12','9999-01-01'),(24669,'Assistant Engineer','1989-05-12','1998-05-12'),(24669,'Engineer','1998-05-12','9999-01-01'),(24670,'Engineer','1995-06-15','2001-06-14'),(24670,'Senior Engineer','2001-06-14','9999-01-01'),(24671,'Engineer','1997-03-12','2001-11-27'),(24672,'Engineer','1994-06-30','2002-06-30'),(24672,'Senior Engineer','2002-06-30','9999-01-01'),(24673,'Senior Staff','1985-11-06','1986-03-05'),(24674,'Senior Engineer','1988-12-28','9999-01-01'),(24675,'Senior Staff','1992-02-18','9999-01-01'),(24675,'Staff','1986-02-18','1992-02-18'),(24676,'Senior Staff','2000-08-09','9999-01-01'),(24676,'Staff','1991-08-10','2000-08-09'),(24677,'Senior Staff','1990-06-28','9999-01-01'),(24677,'Staff','1985-06-28','1990-06-28'),(24678,'Engineer','1995-06-18','9999-01-01'),(24679,'Senior Staff','1993-08-24','1998-03-30'),(24679,'Staff','1985-08-24','1993-08-24'),(24680,'Senior Engineer','1999-12-18','9999-01-01'),(24681,'Senior Staff','1993-10-07','9999-01-01'),(24681,'Staff','1987-10-08','1993-10-07'),(24682,'Staff','1999-02-26','9999-01-01'),(24683,'Engineer','1994-05-07','1996-11-21'),(24684,'Engineer','1989-04-10','1994-04-10'),(24684,'Senior Engineer','1994-04-10','9999-01-01'),(24685,'Senior Staff','1999-09-22','9999-01-01'),(24686,'Senior Staff','2001-12-03','9999-01-01'),(24686,'Staff','1994-12-03','2001-12-03'),(24687,'Staff','1997-10-21','9999-01-01'),(24688,'Engineer','1989-04-19','1997-07-13'),(24689,'Senior Staff','2002-05-02','9999-01-01'),(24689,'Staff','1997-05-02','2002-05-02'),(24690,'Senior Staff','1987-01-01','9999-01-01'),(24691,'Staff','1995-04-18','9999-01-01'),(24692,'Engineer','1994-10-31','9999-01-01'),(24693,'Senior Staff','2000-08-27','9999-01-01'),(24693,'Staff','1992-08-27','2000-08-27'),(24694,'Senior Staff','1998-01-18','9999-01-01');
UNLOCK TABLES;--
-- Table structure for table `dw_update`
--

CREATE TABLE `dw_update` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `version` bigint(20) NOT NULL,
  `condition_command` longtext DEFAULT NULL,
  `condition_script` longtext DEFAULT NULL,
  `dw_id` int(11) NOT NULL,
  `date_created` datetime NOT NULL,
  `deleted` bit(1) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `done` bit(1) NOT NULL,
  `executed` datetime DEFAULT NULL,
  `last_updated` datetime NOT NULL,
  `message` varchar(255) DEFAULT NULL,
  `mssqlcommand` longtext DEFAULT NULL,
  `mysqlcommand` longtext DEFAULT NULL,
  `dw_order` int(11) DEFAULT NULL,
  `result` varchar(255) DEFAULT NULL,
  `update_command` longtext DEFAULT NULL,
  `update_script` longtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=734 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `dw_update`
--

INSERT INTO `dw_update` VALUES (1,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_text\', \'english\')','',1,'2018-02-07 00:35:55','\0','init dw_text.text_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_text set text_en = english','update dw_text set text_en = english',0,'condition is false','',''),(2,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_text\', \'english\')','',2,'2018-02-07 00:35:55','\0','drop dw_text.entlish','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_text drop column english','alter table dw_text drop column english',0,'condition is false','',''),(3,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_text\', \'german\')','',3,'2018-02-07 00:35:55','\0','init dw_text.text_de','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_text set text_de = german','update dw_text set text_de = german',0,'condition is false','',''),(4,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_text\', \'german\')','',4,'2018-02-07 00:35:55','\0','drop dw_text.german','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_text drop column german','alter table dw_text drop column german',0,'condition is false','',''),(5,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'description\')','',5,'2018-02-07 00:35:55','\0','init dw_time_time_type.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_time_time_type set description_de = description, description_en = description','update dw_time_time_type set description_de = description, description_en = description',0,'condition is false','',''),(6,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'description\')','',6,'2018-02-07 00:35:55','\0','drop dw_time_time_type.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_time_time_type drop column description','alter table dw_time_time_type drop column description',0,'condition is false','',''),(7,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_model\', \'description\')','',7,'2018-02-07 00:35:55','\0','init dw_time_time_model.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_time_time_model set description_de = description, description_en = description','update dw_time_time_model set description_de = description, description_en = description',0,'condition is false','',''),(8,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_model\', \'description\')','',8,'2018-02-07 00:35:55','\0','drop dw_time_time_model.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_time_time_model drop column description','alter table dw_time_time_model drop column description',0,'condition is false','',''),(9,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'description\')','',9,'2018-02-07 00:35:55','\0','init dw_time_time_plan.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','drop dw_time_time_plan.description','update dw_time_time_plan set description_de = description, description_en = description','update dw_time_time_plan set description_de = description, description_en = description',0,'condition is false','',''),(10,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'description\')','',10,'2018-02-07 00:35:55','\0','drop dw_time_time_plan.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_time_time_plan drop column description','alter table dw_time_time_plan drop column description',0,'condition is false','',''),(11,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'description\')','',11,'2018-02-07 00:35:55','\0','init dw_absence.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_absence set description_de = description, description_en = description','update dw_absence set description_de = description, description_en = description',0,'condition is false','',''),(12,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'description\')','',12,'2018-02-07 00:35:55','\0','drop dw_absence.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_absence drop column description','alter table dw_absence drop column description',0,'condition is false','',''),(13,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_category\', \'description\')','',13,'2018-02-07 00:35:55','\0','init dw_absence_category.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_absence_category set description_de = description, description_en = description','update dw_absence_category set description_de = description, description_en = description',0,'condition is false','',''),(14,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_category\', \'description\')','',14,'2018-02-07 00:35:55','\0','drop dw_absence_category.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_absence_category drop column description','alter table dw_absence_category drop column description',0,'condition is false','',''),(15,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'description\')','',15,'2018-02-07 00:35:55','\0','init dw_operator_role.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_operator_role set description_de = description, description_en = description','update dw_operator_role set description_de = description, description_en = description',0,'condition is false','',''),(16,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'description\')','',16,'2018-02-07 00:35:55','\0','drop dw_operator_role.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_operator_role drop column description','alter table dw_operator_role drop column description',0,'condition is false','',''),(17,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_cost_unit_category\', \'description\')','',17,'2018-02-07 00:35:55','\0','init dw_cost_unit_category.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_cost_unit_category set description_de = description, description_en = description','update dw_cost_unit_category set description_de = description, description_en = description',0,'condition is false','',''),(18,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_cost_unit_category\', \'description\')','',18,'2018-02-07 00:35:55','\0','drop dw_cost_unit_category.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_cost_unit_category drop column description','alter table dw_cost_unit_category drop column description',0,'condition is false','',''),(19,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_machine_category\', \'description\')','',19,'2018-02-07 00:35:55','\0','init dw_machine_category.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_machine_category set description_de = description, description_en = description','update dw_machine_category set description_de = description, description_en = description',0,'condition is false','',''),(20,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_machine_category\', \'description\')','',20,'2018-02-07 00:35:55','\0','drop dw_machine_c, 0, true,description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_machine_category drop column description','alter table dw_machine_category drop column description',0,'condition is false','',''),(21,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_category\', \'description\')','',21,'2018-02-07 00:35:55','\0','init dw_order_category.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_order_category set description_de = description, description_en = description','update dw_order_category set description_de = description, description_en = description',0,'condition is false','',''),(22,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_category\', \'description\')','',22,'2018-02-07 00:35:55','\0','drop dw_order_category.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_order_category drop column description','alter table dw_order_category drop column description',0,'condition is false','',''),(23,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item_category\', \'description\')','',23,'2018-02-07 00:35:55','\0','init dw_order_item_category.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_order_item_category set description_de = description, description_en = description','update dw_order_item_category set description_de = description, description_en = description',0,'condition is false','',''),(24,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item_category\', \'description\')','',24,'2018-02-07 00:35:55','\0','drop dw_order_item_category.description','','2018-02-07 00:35:58','2018-02-07 00:35:58','','alter table dw_order_item_category drop column description','alter table dw_order_item_category drop column description',0,'condition is false','',''),(25,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_project_category\', \'description\')','',25,'2018-02-07 00:35:55','\0','init dw_project_category.description_de, description_en','','2018-02-07 00:35:58','2018-02-07 00:35:58','','update dw_project_category set description_de = description, description_en = description','update dw_project_category set description_de = description, description_en = description',0,'condition is false','',''),(26,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_project_category\', \'description\')','',26,'2018-02-07 00:35:55','\0','drop dw_project_category.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_project_category drop column description','alter table dw_project_category drop column description',0,'condition is false','',''),(27,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workplace_category\', \'description\')','',27,'2018-02-07 00:35:55','\0','init dw_workplace_category.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_workplace_category set description_de = description, description_en = description','update dw_workplace_category set description_de = description, description_en = description',0,'condition is false','',''),(28,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workplace_category\', \'description\')','',28,'2018-02-07 00:35:55','\0','drop dw_workplace_category.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_workplace_category drop column description','alter table dw_workplace_category drop column description',0,'condition is false','',''),(29,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workprocess_category\', \'description\')','',29,'2018-02-07 00:35:55','\0','init dw_workprocess_category.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_workprocess_category set description_de = description, description_en = description','update dw_workprocess_category set description_de = description, description_en = description',0,'condition is false','',''),(30,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workprocess_category\', \'description\')','',30,'2018-02-07 00:35:55','\0','drop dw_workprocess_category.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_workprocess_category drop column description','alter table dw_workprocess_category drop column description',0,'condition is false','',''),(31,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_cost_unit\', \'description\')','',31,'2018-02-07 00:35:55','\0','init dw_cost_unit.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_cost_unit set description_de = description, description_en = description','update dw_cost_unit set description_de = description, description_en = description',0,'condition is false','',''),(32,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_cost_unit\', \'description\')','',32,'2018-02-07 00:35:55','\0','drop dw_cost_unit.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_cost_unit drop column description','alter table dw_cost_unit drop column description',0,'condition is false','',''),(33,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_machine\', \'description\')','',33,'2018-02-07 00:35:55','\0','init dw_machine.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_machine set description_de = description, description_en = description','update dw_machine set description_de = description, description_en = description',0,'condition is false','',''),(34,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_machine\', \'description\')','',34,'2018-02-07 00:35:55','\0','drop dw_machine.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_machine drop column description','alter table dw_machine drop column description',0,'condition is false','',''),(35,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'description\')','',35,'2018-02-07 00:35:55','\0','init dw_order.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_order set description_de = description, description_en = description','update dw_order set description_de = description, description_en = description',0,'condition is false','',''),(36,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'description\')','',36,'2018-02-07 00:35:55','\0','drop dw_order.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_order drop column description','alter table dw_order drop column description',0,'condition is false','',''),(37,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'description\')','',37,'2018-02-07 00:35:55','\0','init dw_order_item.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_order_item set description_de = description, description_en = description','update dw_order_item set description_de = description, description_en = description',0,'condition is false','',''),(38,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'description\')','',38,'2018-02-07 00:35:55','\0','drop dw_order_item.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_order_item drop column description','alter table dw_order_item drop column description',0,'condition is false','',''),(39,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_project\', \'description\')','',39,'2018-02-07 00:35:55','\0','init dw_project.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_project set description_de = description, description_en = description','update dw_project set description_de = description, description_en = description',0,'condition is false','',''),(40,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_project\', \'description\')','',40,'2018-02-07 00:35:55','\0','drop dw_project.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_project drop column description','alter table dw_project drop column description',0,'condition is false','',''),(41,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workplace\', \'description\')','',41,'2018-02-07 00:35:55','\0','init dw_workplace.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_workplace set description_de = description, description_en = description','update dw_workplace set description_de = description, description_en = description',0,'condition is false','',''),(42,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workplace\', \'description\')','',42,'2018-02-07 00:35:55','\0','drop dw_workplace.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_workplace drop column description','alter table dw_workplace drop column description',0,'condition is false','',''),(43,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workprocess\', \'description\')','',43,'2018-02-07 00:35:55','\0','init dw_workprocess.description_de, description_en','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_workprocess set description_de = description, description_en = description','update dw_workprocess set description_de = description, description_en = description',0,'condition is false','',''),(44,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workprocess\', \'description\')','',44,'2018-02-07 00:35:55','\0','drop dw_workprocess.description','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_workprocess drop column description','alter table dw_workprocess drop column description',0,'condition is false','',''),(45,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'device_type_id\')','',45,'2018-02-07 00:35:55','\0','modify column device_type_id BIGINT(20) DEFAULT NULL','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_device alter column device_type_id BIGINT NULL','alter table dw_device modify column device_type_id BIGINT(20) DEFAULT NULL',0,'condition is false','',''),(46,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'device_type_id\')','',46,'2018-02-07 00:35:55','\0','alter table dw_device drop column device_type_id','','2018-02-07 00:35:59','2018-02-07 00:35:59','Manuell ausführen (Problem wegen foreign Key): alter table dw_device drop column device_type_id','','',0,'condition is false','',''),(47,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_device_type\')','',47,'2018-02-07 00:35:55','\0','drop table dw_device_type','','2018-02-07 00:35:59','2018-02-07 00:35:59','Manuell ausführen (Problem wegen foreign Key): drop table dw_device_type','','',0,'Manuell ausführen (Problem wegen foreign Key): drop table dw_device_type','',''),(48,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'class\')','',48,'2018-02-07 00:35:55','\0','init dw_device.class','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_device set class=\'at.dockwork.terminal.domain.DeviceTibbo\' where class is null or class = \'\'','update dw_device set class=\'at.dockwork.terminal.domain.DeviceTibbo\' where class is null or class = \'\'',0,'OK','',''),(49,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category\', \'class\')','',49,'2018-02-07 00:35:55','\0','init dw_person_category.class','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_person_category set class=\'at.dockwork.common.domain.PersonCategory\' where class is null or class = \'\'','update dw_person_category set class=\'at.dockwork.common.domain.PersonCategory\' where class is null or class = \'\'',0,'condition is false','',''),(50,1,'','',50,'2018-02-07 00:35:55','\0','init dw_user.account_expired = false','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_user set account_expired = 0','update dw_user set account_expired = false',0,'OK','',''),(51,1,'','',51,'2018-02-07 00:35:55','\0','init dw_user.account_locked = false','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_user set account_locked = 0','update dw_user set account_locked = false',0,'OK','',''),(52,1,'','',52,'2018-02-07 00:35:55','\0','init dw_user.password_expired = false','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_user set password_expired = 0','update dw_user set password_expired = false',0,'OK','',''),(53,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_user_role\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_role_people\')','',53,'2018-02-07 00:35:55','\0','change table from dw_role_people to dw_user_role','','2018-02-07 00:35:59','2019-02-25 18:36:21','','insert into dw_user_role (user_id, role_id) select user_id, role_id from dw_role_people','insert into dw_user_role (user_id, role_id) select user_id, role_id from dw_role_people',0,'condition is false','',''),(54,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'class\')','',54,'2018-02-07 00:35:55','\0','init dw_information_type.class','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_information_type set class=\'at.dockwork.time.domain.BookingInformationType\' where class is null or class = \'\'','update dw_information_type set class=\'at.dockwork.time.domain.BookingInformationType\' where class is null or class = \'\'',0,'OK','',''),(55,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'state\')','',55,'2018-02-07 00:35:55','\0','init dw_order.state = 0','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_order set state = 0 where state is null','update dw_order set state = 0 where state is null',0,'condition is false','',''),(56,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'state\')','',56,'2018-02-07 00:35:55','\0','init dw_order_item.state = 0','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_order_item set state = 0 where state is null','update dw_order_item set state = 0 where state is null',0,'condition is false','',''),(57,1,'','',57,'2018-02-07 00:35:55','\0','init dw_booking.triggered = true','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_booking set triggered = 0','update dw_booking set triggered = true',0,'OK','',''),(58,1,'','',58,'2018-02-07 00:35:55','\0','init dw_time_time_type_data.triggered = true','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set triggered = 0','update dw_time_time_type_data set triggered = true',0,'OK','',''),(59,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'time_active\')','',59,'2018-02-07 00:35:55','\0','init dw_person.time_active = true','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_person set time_active = 1','update dw_person set time_active = true',0,'condition is false','',''),(60,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'work_active\')','',60,'2018-02-07 00:35:55','\0','init dw_person.work_active = false','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_person set work_active = 0','update dw_person set work_active = false',0,'condition is false','',''),(61,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'access_active\')','',61,'2018-02-07 00:35:55','\0','init dw_person.access_active = false','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_person set access_active = 0','update dw_person set access_active = false',0,'condition is false','',''),(62,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking\', \'extern_id\')','',62,'2018-02-07 00:35:56','\0','init dw_booking.extern_id = 0','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_booking set extern_id = 0 where extern_id is null','update dw_booking set extern_id = 0 where extern_id is null',0,'OK','',''),(63,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_person_2_person_category\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_person_category_persons\')','',63,'2018-02-07 00:35:56','\0','change table dw_person_category_persons to dw_person_2_person_category','','2018-02-07 00:35:59','2019-02-25 18:36:21','','insert into dw_person_2_person_category (person_id, person_category_id, version) select person_id, person_category_id, 0 from dw_person_category_persons','insert into dw_person_2_person_category (person_id, person_category_id, version) select person_id, person_category_id, 0 from dw_person_category_persons',0,'condition is false','',''),(64,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'tza\')','',64,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.day_value (tza)','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set day_value = tza','update dw_time_time_type_data set day_value = tza',0,'condition is false','',''),(65,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'tza\')','',65,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data.tza','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_time_time_type_data drop column tza','alter table dw_time_time_type_data drop column tza',0,'condition is false','',''),(66,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'pza\')','',66,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.period_value (pza)','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set period_value = pza','update dw_time_time_type_data set period_value = pza',0,'condition is false','',''),(67,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'pza\')','',67,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data.pza','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_time_time_type_data drop column pza','alter table dw_time_time_type_data drop column pza',0,'condition is false','',''),(68,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'saend\')','',68,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.changed_total_value (saend)','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set changed_total_value = saend','update dw_time_time_type_data set changed_total_value = saend',0,'condition is false','',''),(69,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'saend\')','',69,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data.saend','','2018-02-07 00:35:59','2018-02-07 00:35:59','','alter table dw_time_time_type_data drop column saend','alter table dw_time_time_type_data drop column saend',0,'condition is false','',''),(70,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'day_value\')','',70,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.day_value (0)','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set day_value = 0 where day_value is null','update dw_time_time_type_data set day_value = 0 where day_value is null',0,'OK','',''),(71,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'period_value\')','',71,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.period_value (0)','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set period_value = 0 where period_value is null','update dw_time_time_type_data set period_value = 0 where period_value is null',0,'OK','',''),(72,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'changed_period_value\')','',72,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.changed_period_value (0)','','2018-02-07 00:35:59','2018-02-07 00:35:59','','update dw_time_time_type_data set changed_period_value = 0 where changed_period_value is null','update dw_time_time_type_data set changed_period_value = 0 where changed_period_value is null',0,'OK','',''),(73,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'changed_total_value\')','',73,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.changed_total_value (0)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_time_time_type_data set changed_total_value = 0 where changed_total_value is null','update dw_time_time_type_data set changed_total_value = 0 where changed_total_value is null',0,'OK','',''),(74,3,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'sal\')','',74,'2018-02-07 00:35:56','\0','init dw_time_time_type_data_total.total_value','','2018-02-07 00:36:00','2019-02-25 18:36:21','','','',0,'condition is false','','\nimport at.dockwork.security.domain.*\nimport at.dockwork.time.domain.*\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		boolean error = true\n\n		Date dateFrom = new Date(2008-1900, 0, 1)\n		Date dateTo = new Date()\n\n		for (date in dateFrom..dateTo) {\n			if (date.getMonth() != (date+1).getMonth()) {\n				def resultMap = at.dockwork.system.service.DataSourceService.execute(\n					connection,\n					dataSourceFields,\n					[\n						mySQLStatement:\"insert into dw_time_time_type_data_total (version, person_id, date, time_time_type_id, total_value) select 0, person_id, date, time_time_type_id, sal from dw_time_time_type_data where date = \'\" + date.format(\"yyyy-MM-dd\") + \"\'\",\n						msSQLStatement:\"insert into dw_time_time_type_data_total (version, person_id, date, time_time_type_id, total_value) select 0, person_id, date, time_time_type_id, sal from dw_time_time_type_data where convert(varchar(10), date, 120) = \'\" + date.format(\"yyyy-MM-dd\") + \"\'\"\n					]\n				)\n			}\n		}\n\n		error\n	}\n}\n'),(75,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'sal\')','',75,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data.sal','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_time_time_type_data drop column sal','alter table dw_time_time_type_data drop column sal',0,'condition is false','',''),(76,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'limitv\')','',76,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.limitv (0)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_time_time_type_data set limitv = 0 where limitv is null','update dw_time_time_type_data set limitv = 0 where limitv is null',0,'condition is false','',''),(77,2,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'limitv\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'limit_value\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_time_time_type_data_total\')','',77,'2018-02-07 00:35:56','\0','init dw_time_time_type_data_limit.limit_value','',NULL,'2019-02-25 18:36:21','','','',0,NULL,'','\nimport at.dockwork.time.timeType.domain.TimeTimeTypeDataTotal\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		def last_person_id\n		def last_time_time_type_id\n		def last_value\n\n//		int minId = 0\n//		int maxId = 0\n//		def row = connection.firstRow(\"select min(id) as min, max(id) as max from dw_time_time_type_data\")\n//		minId = row.min\n//		maxId = row.max\n//		if (!minId)\n//			minId = 0\n//		if (!maxId)\n//			maxId = 0\n\n//		int count = maxId\n//		int offset = minId\n\n		int offset = 0\n		int count = at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \"dw_time_time_type_data\")\n		int maxRows = 100000\n\nprintln \"count=\" + count\n\n		long id\n		long person_id\n		long time_time_type_id\n		Date date\n		double limitv\n\ncount = 0\n\n		for (offset=0; offset<count; offset+=maxRows) {\n\n			String selectStatement =\n				\"select id, person_id, time_time_type_id, date, limitv \" +\n				\"from dw_time_time_type_data \" +\n				\"order by person_id, time_time_type_id, date\"\n\nprintln \"-->offset=\" + offset + \" von=\" + count\n			connection.eachRow(selectStatement, offset, maxRows) {\n\n				id = it.id\n				person_id = it.person_id\n				time_time_type_id = it.time_time_type_id\n				date = it.date\n				limitv = it.limitv\n\n				if (!last_person_id || !last_time_time_type_id || last_value ||\n					last_person_id != person_id || last_time_time_type_id != time_time_type_id || last_value != limitv) {\n\n					def resultMap = at.dockwork.system.service.DataSourceService.execute(\n						connection,\n						dataSourceFields,\n						[\n							mySQLStatement:\"insert into dw_time_time_type_data_limit (version, person_id, date, time_time_type_id, limit_value) select 0, person_id, date, time_time_type_id, limitv from dw_time_time_type_data where id = \" + id,\n							msSQLStatement:\"insert into dw_time_time_type_data_limit (version, person_id, date, time_time_type_id, limit_value) select 0, person_id, date, time_time_type_id, limitv from dw_time_time_type_data where id = \" + id\n						]\n					)\n\n					last_person_id = person_id\n					last_time_time_type_id = time_time_type_id\n					last_value = limitv\n\n				}\n\n			}\n\n		}\n\n\n		true\n	}\n}'),(78,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'limitv\')','',78,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data.limitv','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_time_time_type_data drop column limitv','alter table dw_time_time_type_data drop column limitv',0,'condition is false','',''),(79,1,'','',79,'2018-02-07 00:35:56','\0','delete dw_time_time_type_data where ... = 0','','2018-02-07 00:36:00','2018-02-07 00:36:00','','delete from dw_time_time_type_data where day_value = 0 and period_value = 0 and changed_period_value = 0 and changed_total_value = 0','delete from dw_time_time_type_data where day_value = 0 and period_value = 0 and changed_period_value = 0 and changed_total_value = 0',0,'OK','',''),(80,1,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_absence_planning_detail\') == 0 || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_from\') ?: \'\').toUpperCase().contains(\'DATE\') || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_from\') ?: \'\').toUpperCase().contains(\'TIME\') || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_from\') ?: \'NULL\').toUpperCase().contains(\'NULL\')','',80,'2018-02-07 00:35:56','\0','change dw_absence_planning_detail.time_from to integer (part 1)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_absence_planning_detail drop column time_from','alter table dw_absence_planning_detail drop column time_from',0,'OK','',''),(81,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_from\')','',81,'2018-02-07 00:35:56','\0','change dw_absence_planning_detail.time_from to integer (part 2)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_absence_planning_detail add time_from INTEGER','alter table dw_absence_planning_detail add column time_from INTEGER',0,'OK','',''),(82,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_from\')','',82,'2018-02-07 00:35:56','\0','change dw_absence_planning_detail.time_from to integer (part 3)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_absence_planning_detail set time_from = 0 where time_from is null','update dw_absence_planning_detail set time_from = 0 where time_from is null',0,'OK','',''),(83,1,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_absence_planning_detail\') == 0 || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_to\') ?: \'\').toUpperCase().contains(\'DATE\') || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_to\') ?: \'\').toUpperCase().contains(\'TIME\') || (at.dockwork.system.service.DataSourceService.getFieldTypeInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_to\') ?: \'NULL\').toUpperCase().contains(\'NULL\')','',83,'2018-02-07 00:35:56','\0','change dw_absence_planning_detail.time_to to integer (part 1)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_absence_planning_detail drop column time_to','alter table dw_absence_planning_detail drop column time_to',0,'OK','',''),(84,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_to\')','',84,'2018-02-07 00:35:56','\0','change dw_absence_planning_detail.time_to to integer (part 2)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_absence_planning_detail add time_to INTEGER','alter table dw_absence_planning_detail add column time_to INTEGER',0,'OK','',''),(85,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_to\')','',85,'2018-02-07 00:35:56','\0','change dw_absence_planning_detail.time_to to integer (part 3)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_absence_planning_detail set time_to = 0 where time_to is null','update dw_absence_planning_detail set time_to = 0 where time_to is null',0,'OK','',''),(86,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category\', \'class\')','',86,'2018-02-07 00:35:56','\0','init dw_person_category.class','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_person_category set class = \'at.dockwork.common.domain.PersonCategory\' where class is null or class = \'\'','update dw_person_category set class = \'at.dockwork.common.domain.PersonCategory\' where class is null or class = \'\'',0,'condition is false','',''),(87,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_type_operation_detail\', \'class\')','',87,'2018-02-07 00:35:56','\0','init dw_operator_type_detail.class','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_operator_type_detail set class = \'at.dockwork.security.domain.OperatorTypeOperationDetail\' where class is null or class = \'\'','update dw_operator_type_detail set class = \'at.dockwork.security.domain.OperatorTypeOperationDetail\' where class is null or class = \'\'',0,'condition is false','',''),(88,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operation_role\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_type_detail\', \'operation_role_id\')','',88,'2018-02-07 00:35:56','\0','change table dw_operation_role to dw_operator_role','','2018-02-07 00:36:59','2018-02-07 00:36:59','','','',1,'condition is false','','\nimport at.dockwork.security.domain.*\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		connection.eachRow(\'select a.id, a.operation_role_id, b.cwid from dw_operator_type_detail a, dw_operation_role b where a.operator_role_id is null and a.operation_role_id is not null and a.operation_role_id = b.id\') {\n\n			OperatorRole operatorRole = OperatorRole.findWhere(cwID:it.cwid)\n			if (operatorRole) {\n				def resultMap = at.dockwork.system.service.DataSourceService.execute(\n					connection,\n					dataSourceFields,\n					[\n						mySQLStatement:\"update dw_operator_type_detail set operator_role_id = \" + operatorRole.id + \" where id = \" + it.id,\n						msSQLStatement:\"update dw_operator_type_detail set operator_role_id = \" + operatorRole.id + \" where id = \" + it.id\n					]\n				)\n			}\n\n		}\n\n		true\n	}\n}\n'),(89,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_type_detail\', \'operation_role_id\')','',89,'2018-02-07 00:35:56','\0','alter dw_operator_type_detail drop column operation_role_id (part 1 - foreign key!)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_operator_type_detail alter column operation_role_id BIGINT NULL','alter table dw_operator_type_detail modify column operation_role_id BIGINT(20) DEFAULT NULL',0,'OK','',''),(90,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_type_detail\', \'operation_role_id\')','',90,'2018-02-07 00:35:56','\0','alter dw_operator_type_detail drop column operation_role_id (part 2)','','2018-02-07 00:36:00','2018-02-07 00:36:00','Manuell ausführen (Problem wegen foreign key): alter dw_operator_type_detail drop column operation_role_id','','',0,'Manuell ausführen (Problem wegen foreign key): alter dw_operator_type_detail drop column operation_role_id','',''),(91,1,'','',92,'2018-02-07 00:35:56','\0','clean systemConfiguration','','2018-02-07 00:36:00','2018-02-07 00:36:00','','','',0,'OK','','\nimport at.dockwork.system.service.SystemConfigurationService\nimport at.dockwork.system.domain.*\n\nimport grails.util.Holders\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n	def run(def connection, def dataSourceFields) {\n\n		systemConfigurationService.deleteByCwID(1)\n		systemConfigurationService.deleteByCwID(11)\n		systemConfigurationService.deleteByCwID(12)\n		systemConfigurationService.deleteByCwID(13)\n		systemConfigurationService.deleteByCwID(14)\n		systemConfigurationService.deleteByCwID(21)\n		systemConfigurationService.deleteByCwID(22)\n		systemConfigurationService.deleteByCwID(23)\n		systemConfigurationService.deleteByCwID(34)\n		systemConfigurationService.deleteByCwID(35)\n		systemConfigurationService.deleteByCwID(51)\n		systemConfigurationService.deleteByCwID(52)\n\n		true\n	}\n}\n'),(92,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column_report\')','',93,'2018-02-07 00:35:56','\0','TimeTimeTypeDefinition for PersonTime-Report','','2018-02-07 00:36:59','2018-02-07 00:36:59','','','',1,'condition is false','','\nimport at.dockwork.time.domain.*\nimport at.dockwork.time.timeType.domain.*\nimport at.dockwork.security.domain.*\nimport at.dockwork.report.domain.*\nimport at.dockwork.time.enumeration.*\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_type set reduce_total = true where reduce_total is null\",\n				msSQLStatement:\"update dw_time_time_type set reduce_total = 0 where reduce_total is null\"\n			]\n		)\n\n		TimeTimeTypeDefinition timeTimeTypeDefinition = new TimeTimeTypeDefinition(name:\"PersonTime\", description:\"PersonTime\")\n		timeTimeTypeDefinition.save()\n		if (timeTimeTypeDefinition) {\n\n			connection.eachRow(\'select id, display_column_report from dw_time_time_type where display_column_report is not null and display_column_report > 0 order by display_column_report\') {\n\n				long id = it.id\n				int displayColumnReport = it.display_column_report\n				TimeTimeType timeTimeType = TimeTimeType.get(id)\n\n				if (timeTimeType && !timeTimeType.deleted) {\n\n					timeTimeTypeDefinition.addToTimeTimeTypeDefinitionDetails(\n						new TimeTimeTypeDefinitionDetail(\n							position:displayColumnReport,\n//							description:\"\",\n							timeTimeType:timeTimeType\n//							TimeFormat timeFormat\n//							timeCalculation:TimeCalculation.DAY,\n//							timeDurationInRelationTo:TimeDurationInRelationTo.DAY,\n//							timeDuration:TimeDuration.TODAY\n						)\n					)\n					timeTimeTypeDefinition.save()\n\n				}\n			}\n\n			ReportRole.findAll(\"from ReportRole where cwID in (:reportRoles)\", [reportRoles:[ReportRole.PersonTime001, ReportRole.PersonTime001Landscape]]).each { reportRole ->\n				reportRole.defaultTimeTimeTypeDefinition = timeTimeTypeDefinition\n				reportRole.addToTimeTimeTypeDefinitions(timeTimeTypeDefinition)\n				reportRole.save()\n			}\n\n		}\n\n		true\n	}\n}\n'),(93,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column_report\')','',94,'2018-02-07 00:35:56','\0','drop dw_time_time_type.displayColumnReport','','2018-02-07 00:36:59','2018-02-07 00:36:59','','alter table dw_time_time_type drop column display_column_report','alter table dw_time_time_type drop column display_column_report',1,'condition is false','',''),(94,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column\')','',95,'2018-02-07 00:35:56','\0','TimeTimeTypeDefinition for booking','','2018-02-07 00:36:59','2018-02-07 00:36:59','','','',1,'condition is false','','\nimport at.dockwork.time.domain.*\nimport at.dockwork.time.timeType.domain.*\nimport at.dockwork.report.domain.*\nimport at.dockwork.time.enumeration.*\nimport at.dockwork.system.service.SystemConfigurationService\n\nimport grails.util.Holders\n\n\n\n\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_type set reduce_total = true where reduce_total is null\",\n				msSQLStatement:\"update dw_time_time_type set reduce_total = 0 where reduce_total is null\"\n			]\n		)\n\n		TimeTimeTypeDefinition timeTimeTypeDefinition = new TimeTimeTypeDefinition(name:\"booking\", description:\"booking\")\n		timeTimeTypeDefinition.save()\n		if (timeTimeTypeDefinition) {\n\n			connection.eachRow(\'select id, display_column from dw_time_time_type where display_column is not null and display_column > 0 order by display_column\') {\n\n				long id = it.id\n				int displayColumn = it.display_column\n				TimeTimeType timeTimeType = TimeTimeType.get(id)\n\n				if (timeTimeType && !timeTimeType.deleted) {\n\n					timeTimeTypeDefinition.addToTimeTimeTypeDefinitionDetails(\n						new TimeTimeTypeDefinitionDetail(\n							position:displayColumn,\n//							description:\"\",\n							timeTimeType:timeTimeType\n//							TimeFormat timeFormat\n//							timeCalculation:TimeCalculation.DAY,\n//							timeDurationInRelationTo:TimeDurationInRelationTo.DAY,\n//							timeDuration:TimeDuration.TODAY\n						)\n					)\n					timeTimeTypeDefinition.save()\n\n				}\n			}\n\n			systemConfigurationService.updateByCwID((int) 62, (int) timeTimeTypeDefinition.id, (String) null, (Date) null, (boolean) true)\n\n		}\n\n		true\n	}\n}\n'),(95,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column\')','',96,'2018-02-07 00:35:56','\0','drop dw_time_time_type.displayColumn','','2018-02-07 00:36:59','2018-02-07 00:37:00','','alter table dw_time_time_type drop column display_column','alter table dw_time_time_type drop column display_column',1,'condition is false','',''),(96,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column_booking\')','',97,'2018-02-07 00:35:56','\0','TimeTimeTypeDefinition for booking','','2018-02-07 00:37:00','2018-02-07 00:37:00','','','',1,'condition is false','','\nimport at.dockwork.time.domain.*\nimport at.dockwork.time.timeType.domain.*\nimport at.dockwork.report.domain.*\nimport at.dockwork.time.enumeration.*\nimport at.dockwork.system.service.SystemConfigurationService\n\nimport grails.util.Holders\n\n\n\n\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n\n\n	def run(def connection, def dataSourceFields) {\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_type set reduce_total = true where reduce_total is null\",\n				msSQLStatement:\"update dw_time_time_type set reduce_total = 0 where reduce_total is null\"\n			]\n		)\n\n		TimeTimeTypeDefinition timeTimeTypeDefinition = new TimeTimeTypeDefinition(name:\"booking 2\", description:\"booking 2\")\n		timeTimeTypeDefinition.save()\n		if (timeTimeTypeDefinition) {\n\n			connection.eachRow(\'select id, display_column_booking from dw_time_time_type where display_column_booking is not null and display_column_booking > 0 order by display_column_booking\') {\n\n				long id = it.id\n				int displayColumnBooking = it.display_column_booking\n				TimeTimeType timeTimeType = TimeTimeType.get(id)\n\n				if (timeTimeType && !timeTimeType.deleted) {\n\n					timeTimeTypeDefinition.addToTimeTimeTypeDefinitionDetails(\n						new TimeTimeTypeDefinitionDetail(\n							position:displayColumnBooking,\n//							description:\"\",\n							timeTimeType:timeTimeType\n//							TimeFormat timeFormat\n//							timeCalculation:TimeCalculation.DAY,\n//							timeDurationInRelationTo:TimeDurationInRelationTo.DAY,\n//							timeDuration:TimeDuration.TODAY\n						)\n					)\n					timeTimeTypeDefinition.save()\n\n				}\n			}\n\n			systemConfigurationService.updateByCwID((int) 62, (int) timeTimeTypeDefinition.id, (String) null, (Date) null, (boolean) true)\n\n		}\n\n		true\n	}\n}\n'),(97,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column_booking\')','',98,'2018-02-07 00:35:56','\0','drop dw_time_time_type.displayColumnBooking','','2018-02-07 00:37:00','2018-02-07 00:37:00','','alter table dw_time_time_type drop column display_column_booking','alter table dw_time_time_type drop column display_column_booking',1,'condition is false','',''),(98,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'reduce_total\')','',99,'2018-02-07 00:35:56','\0','init timeTimeType.reduceTotal','','2018-02-07 00:36:00','2018-02-07 00:36:00','','','',0,'OK','','\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_type set reduce_total = true where reduce_total is null\",\n				msSQLStatement:\"update dw_time_time_type set reduce_total = 0 where reduce_total is null\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_type set reduce_total = true where number = \'40\'\",\n				msSQLStatement:\"update dw_time_time_type set reduce_total = 1 where number = \'40\'\"\n			]\n		)\n\n		long rowId = 0\n		def row = connection.firstRow(\"select id from dw_time_time_type where number = \'40\'\")\n		if (row)\n			rowId = row[\"id\"]\n\n		if (rowId > 0) {\n			resultMap = at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"update dw_time_time_type_data set day_value = day_value*(-1),  period_value = period_value*(-1),  changed_period_value = changed_period_value*(-1),  changed_total_value = changed_total_value*(-1) where time_time_type_id = \" + rowId,\n					msSQLStatement:\"update dw_time_time_type_data set day_value = day_value*(-1),  period_value = period_value*(-1),  changed_period_value = changed_period_value*(-1),  changed_total_value = changed_total_value*(-1) where time_time_type_id = \" + rowId\n				]\n			)\n		}\n\n		true\n	}\n}\n'),(99,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'email_subject_text\')','',100,'2018-02-07 00:35:56','\0','change dw_information_type from eMailsubjectText to emailSubjectText (part 1)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_information_type add email_subject_text VARCHAR(255) NULL','alter table dw_information_type add column email_subject_text VARCHAR(255) DEFAULT NULL',0,'condition is false','',''),(100,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'e_mail_subject_text\')','',101,'2018-02-07 00:35:56','\0','change dw_information_type from eMailsubjectText to emailSubjectText (part 2)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_information_type set email_subject_text = e_mail_subject_text','update dw_information_type set email_subject_text = e_mail_subject_text',0,'condition is false','',''),(101,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'e_mail_subject_text\')','',102,'2018-02-07 00:35:56','\0','change dw_information_type from eMailsubjectText to emailSubjectText (part 3)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_information_type alter column email_subject_text VARCHAR(255)','alter table dw_information_type modify column email_subject_text VARCHAR(255)',0,'condition is false','',''),(102,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'e_mail_subject_text\')','',103,'2018-02-07 00:35:56','\0','change dw_information_type from eMailsubjectText to emailSubjectText (part 4)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_information_type drop column e_mail_subject_text','alter table dw_information_type drop column e_mail_subject_text',0,'condition is false','',''),(103,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'email_object_text\')','',104,'2018-02-07 00:35:56','\0','change dw_information_type from eMailobjectText to emailobjectText (part 1)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_information_type add email_object_text VARCHAR(255) NULL','alter table dw_information_type add column email_object_text VARCHAR(255) DEFAULT NULL',0,'condition is false','',''),(104,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'e_mail_object_text\')','',105,'2018-02-07 00:35:56','\0','change dw_information_type from eMailobjectText to emailobjectText (part 2)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','update dw_information_type set email_object_text = e_mail_object_text','update dw_information_type set email_object_text = e_mail_object_text',0,'condition is false','',''),(105,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'e_mail_object_text\')','',106,'2018-02-07 00:35:56','\0','change dw_information_type from eMailobjectText to emailobjectText (part 3)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_information_type alter column email_object_text VARCHAR(255)','alter table dw_information_type modify column email_object_text VARCHAR(255)',0,'condition is false','',''),(106,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'e_mail_object_text\')','',107,'2018-02-07 00:35:56','\0','change dw_information_type from eMailobjectText to emailobjectText (part 4)','','2018-02-07 00:36:00','2018-02-07 00:36:00','','alter table dw_information_type drop column e_mail_object_text','alter table dw_information_type drop column e_mail_object_text',0,'condition is false','',''),(107,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information\', \'e_mail_prepared\')','',108,'2018-02-07 00:35:56','\0','change dw_information from eMailPrepared to emailPrepared (part 1)','','2018-02-07 00:36:00','2018-02-07 00:36:01','','update dw_information set email_prepared = e_mail_prepared','update dw_information set email_prepared = e_mail_prepared',0,'condition is false','',''),(108,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information\', \'e_mail_prepared\')','',109,'2018-02-07 00:35:56','\0','change dw_information from eMailsubjectText to emailSubjectText (part 2)','','2018-02-07 00:36:01','2018-02-07 00:36:01','','alter table dw_information drop column e_mail_prepared','alter table dw_information drop column e_mail_prepared',0,'condition is false','',''),(109,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'b_value\')','',110,'2018-02-07 00:35:56','\0','init dw_system_configuration.b_value = false','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_system_configuration set b_value = 0 where b_value is null','update dw_system_configuration set b_value = false where b_value is null',0,'condition is false','',''),(110,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'b_value\')','',111,'2018-02-07 00:35:56','\0','change dw_system_configuration from bValue to booleanValue (part 1)','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_system_configuration set boolean_value = b_value','update dw_system_configuration set boolean_value = b_value',0,'condition is false','',''),(111,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'b_value\')','',112,'2018-02-07 00:35:56','\0','change dw_system_configuration from bValue to booleanValue (part 2)','','2018-02-07 00:36:01','2018-02-07 00:36:01','','alter table dw_system_configuration drop column b_value','alter table dw_system_configuration drop column b_value',0,'condition is false','',''),(112,1,'','',113,'2018-02-07 00:35:56','\0','Trigger for SynchronizeWithdockworkFoxpro','','2018-02-07 00:36:01','2018-02-07 00:36:01','','','',0,'OK','','\nimport at.dockwork.system.service.SystemConfigurationService\nimport at.dockwork.system.domain.*\nimport at.dockwork.singleton.*\nimport at.dockwork.common.enumeration.*\nimport at.dockwork.system.enumeration.*\nimport at.dockwork.transfer.gwtTransfer.client.enumeration.TriggerTypeEnum\nimport at.dockwork.transfer.gwtTransfer.client.enumeration.JobStartTypeEnum\n\nimport grails.util.Holders\n\n\n\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n	def triggerWriteService = Holders.grailsApplication.mainContext.getBean \'triggerWriteService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		def systemConfigurations = SystemConfigurations.getInstance()\n\n		if (systemConfigurations.getItem(53, \"booleanValue\") == true) {\n			triggerWriteService.save(\n				new Trigger(\n					name:\"SYNCHRONIZE_WITH_dockwork_FOXPRO\",\n					description:\"SYNCHRONIZE_WITH_dockwork_FOXPRO\",\n					triggerTypeEnum:TriggerTypeEnum.SYNCHRONIZE_WITH_dockwork_FOXPRO,\n					jobStartTypeEnum:JobStartTypeEnum.AUTOMATIC,\n					cronDefinition:\"0/10 * * * * ?\"\n				)\n			)\n		}\n		systemConfigurationService.deleteByCwID(53)\n\n		true\n	}\n}\n'),(113,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'log_communication_information_type_ok\')','',114,'2018-02-07 00:35:56','\0','init dw_device.log_communication_information_type_ok','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_device set log_communication_information_type_ok = 1','update dw_device set log_communication_information_type_ok = true',0,'OK','',''),(114,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'log_communication_information_type_info\')','',115,'2018-02-07 00:35:56','\0','init dw_device.log_communication_information_type_info','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_device set log_communication_information_type_info = 1','update dw_device set log_communication_information_type_info = true',0,'OK','',''),(115,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'log_communication_information_type_warning\')','',116,'2018-02-07 00:35:56','\0','init dw_device.log_communication_information_type_warning','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_device set log_communication_information_type_warning = 1','update dw_device set log_communication_information_type_warning = true',0,'OK','',''),(116,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'log_communication_information_type_repeat\')','',117,'2018-02-07 00:35:56','\0','init dw_device.log_communication_information_type_repeat','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_device set log_communication_information_type_repeat = 1','update dw_device set log_communication_information_type_repeat = true',0,'OK','',''),(117,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'log_communication_information_type_error\')','',118,'2018-02-07 00:35:56','\0','init dw_device.log_communication_information_type_error','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_device set log_communication_information_type_error = 1','update dw_device set log_communication_information_type_error = true',0,'OK','',''),(118,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'log_communication_information_type_fatal_error\')','',119,'2018-02-07 00:35:56','\0','init dw_device.log_communication_information_type_fatal_error','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_device set log_communication_information_type_fatal_error = 1','update dw_device set log_communication_information_type_fatal_error = true',0,'OK','',''),(119,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'log_communication_information_type_ok\')','',120,'2018-02-07 00:35:56','\0','init dw_terminal.log_communication_information_type_ok','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set log_communication_information_type_ok = 1','update dw_terminal set log_communication_information_type_ok = true',0,'OK','',''),(120,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'log_communication_information_type_info\')','',121,'2018-02-07 00:35:56','\0','init dw_terminal.log_communication_information_type_info','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set log_communication_information_type_info = 1','update dw_terminal set log_communication_information_type_info = true',0,'OK','',''),(121,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'log_communication_information_type_warning\')','',122,'2018-02-07 00:35:56','\0','init dw_terminal.log_communication_information_type_warning','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set log_communication_information_type_warning = 1','update dw_terminal set log_communication_information_type_warning = true',0,'OK','',''),(122,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'log_communication_information_type_repeat\')','',123,'2018-02-07 00:35:56','\0','init dw_terminal.log_communication_information_type_repeat','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set log_communication_information_type_repeat = 1','update dw_terminal set log_communication_information_type_repeat = true',0,'OK','',''),(123,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'log_communication_information_type_error\')','',124,'2018-02-07 00:35:56','\0','init dw_terminal.log_communication_information_type_error','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set log_communication_information_type_error = 1','update dw_terminal set log_communication_information_type_error = true',0,'OK','',''),(124,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'log_communication_information_type_fatal_error\')','',125,'2018-02-07 00:35:56','\0','init dw_terminal.log_communication_information_type_fatal_error','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set log_communication_information_type_fatal_error = 1','update dw_terminal set log_communication_information_type_fatal_error = true',0,'OK','',''),(125,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'credit_value\')','',126,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.credit_value (0)','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_time_time_type_data set credit_value = 0 where credit_value is null','update dw_time_time_type_data set credit_value = 0 where credit_value is null',0,'OK','',''),(126,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'transfer_total_after_close\')','',127,'2018-02-07 00:35:56','\0','init dw_time_time_type.transfer_total_after_close (0)','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_time_time_type set transfer_total_after_close = 0 where transfer_total_after_close is null','update dw_time_time_type set transfer_total_after_close = false where transfer_total_after_close is null',0,'OK','',''),(127,1,'','',128,'2018-02-07 00:35:56','\0','init dw_terminal.read_events = true','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set read_events = 1','update dw_terminal set read_events = true',0,'OK','',''),(128,1,'','',129,'2018-02-07 00:35:56','\0','init dw_terminal.request_state = true','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set request_state = 1','update dw_terminal set request_state = true',0,'OK','',''),(129,1,'','',130,'2018-02-07 00:35:56','\0','init dw_terminal.update_data = true','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal set update_data = 1','update dw_terminal set update_data = true',0,'OK','',''),(130,1,'','',131,'2018-02-07 00:35:56','\0','init TimeTimeTypeDataTotal','','2018-02-07 00:36:01','2018-02-07 00:36:01','','','',0,'OK','','\n//import at.dockwork.common.domain.Person\n//import at.dockwork.time.service.TimeTimeTypeTransactionalService\n//import at.dockwork.common.domain.PersonReadService\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		true\n	}\n}\n'),(131,1,'','',132,'2018-02-07 00:35:56','\0','init dw_gps_booking.valid_gps_position = true','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_gps_booking set valid_gps_position = 1','update dw_gps_booking set valid_gps_position = true',0,'OK','',''),(132,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_domain_class\', \'customer_spooling\')','',133,'2018-02-07 00:35:56','\0','init dw_domain_class.customer_spooling = false','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_domain_class set customer_spooling = 0 where customer_spooling is null','update dw_domain_class set customer_spooling = false where customer_spooling is null',0,'OK','',''),(133,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_person_2_qualification\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_person_dw_qualification\')','',134,'2018-02-07 00:35:56','\0','change table dw_person_dw_qualification to dw_person_2_qualification','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_person_2_qualification (person_id, qualification_id, version) select person_qualifications_id, qualification_id, 0 from dw_person_dw_qualification','insert into dw_person_2_qualification (person_id, qualification_id, version) select person_qualifications_id, qualification_id, 0 from dw_person_dw_qualification',0,'condition is false','',''),(134,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_domain_class\', \'customer_spooling_code\')','',135,'2018-02-07 00:35:56','\0','init dw_domain_class.customer_spooling_code = \'\'','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_domain_class set customer_spooling_code = \'\' where customer_spooling_code is null','update dw_domain_class set customer_spooling_code = \'\' where customer_spooling_code is null',0,'OK','',''),(135,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_gps_booking\', \'date_created\')','',136,'2018-02-07 00:35:56','\0','init dw_gps_booking.date_created = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_gps_booking set date_created = getdate() where date_created is null','update dw_gps_booking set date_created = curdate() where date_created is null',0,'OK','',''),(136,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_gps_booking\', \'last_updated\')','',137,'2018-02-07 00:35:56','\0','init dw_gps_booking.last_updated = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_gps_booking set last_updated = getdate() where last_updated is null','update dw_gps_booking set last_updated = curdate() where last_updated is null',0,'OK','',''),(137,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_gps_booking\', \'update_counter\')','',138,'2018-02-07 00:35:56','\0','init dw_gps_booking.update_counter = 0','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_gps_booking set update_counter = 0 where update_counter is null','update dw_gps_booking set update_counter = 0 where update_counter is null',0,'OK','',''),(138,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_address\', \'deleted\')','',139,'2018-02-07 00:35:56','\0','init dw_address.deleted = false','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_address set deleted = 0','update dw_address set deleted = false',0,'OK','',''),(139,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_address\', \'date_created\')','',140,'2018-02-07 00:35:56','\0','init dw_address.date_created = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_address set date_created = getdate() where date_created is null','update dw_address set date_created = curdate() where date_created is null',0,'OK','',''),(140,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_address\', \'last_updated\')','',141,'2018-02-07 00:35:56','\0','init dw_address.last_updated = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_address set last_updated = getdate() where last_updated is null','update dw_address set last_updated = curdate() where last_updated is null',0,'OK','',''),(141,44,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'deleted\')','',143,'2018-02-07 00:35:56','\0','init dw_system_configuration.deleted = false','','2018-02-07 00:36:01','2021-04-06 18:51:47','','update dw_system_configuration set deleted = 0','update dw_system_configuration set deleted = false',0,'OK','',''),(142,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'boolean_value\')','',144,'2018-02-07 00:35:56','\0','init dw_system_configuration.boolean_value = false','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_system_configuration set boolean_value = 0 where boolean_value is null','update dw_system_configuration set boolean_value = false where boolean_value is null',0,'OK','',''),(143,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_2_synchronisation_area\', \'synchronise_me\')','',145,'2018-02-07 00:35:56','\0','init dw_terminal_2_synchronisation_area.synchronise_me = true','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_terminal_2_synchronisation_area set synchronise_me = 1 where synchronise_me is null','update dw_terminal_2_synchronisation_area set synchronise_me = true where synchronise_me is null',0,'OK','',''),(144,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_region\', \'deleted\')','',146,'2018-02-07 00:35:56','\0','init dw_region.deleted = false','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_region set deleted = 0 where deleted is null','update dw_region set deleted = false where deleted is null',0,'OK','',''),(145,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_region\', \'date_created\')','',147,'2018-02-07 00:35:56','\0','init dw_region.date_created = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_region set date_created = getdate() where date_created is null','update dw_region set date_created = curdate() where date_created is null',0,'OK','',''),(146,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_region\', \'last_updated\')','',148,'2018-02-07 00:35:56','\0','init dw_region.last_updated = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_region set last_updated = getdate() where last_updated is null','update dw_region set last_updated = curdate() where last_updated is null',0,'OK','',''),(147,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_religion\', \'deleted\')','',149,'2018-02-07 00:35:56','\0','init dw_religion.deleted = false','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_religion set deleted = 0 where deleted is null','update dw_religion set deleted = false where deleted is null',0,'OK','',''),(148,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_religion\', \'date_created\')','',150,'2018-02-07 00:35:56','\0','init dw_religion.date_created = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_religion set date_created = getdate() where date_created is null','update dw_religion set date_created = curdate() where date_created is null',0,'OK','',''),(149,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_religion\', \'last_updated\')','',151,'2018-02-07 00:35:56','\0','init dw_religion.last_updated = curdate()','','2018-02-07 00:36:01','2018-02-07 00:36:01','','update dw_religion set last_updated = getdate() where last_updated is null','update dw_religion set last_updated = curdate() where last_updated is null',0,'OK','',''),(150,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_absence_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_absence_category\')','',152,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_absence_category to dw_general_validation_2_absence_category_bl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_absence_category_bl (version, general_validation_id, absence_category_id) select 0, general_validation_blacklist_absence_categories_id, absence_category_id from dw_general_validation_dw_absence_category where general_validation_blacklist_absence_categories_id is not null','insert into dw_general_validation_2_absence_category_bl (version, general_validation_id, absence_category_id) select 0, general_validation_blacklist_absence_categories_id, absence_category_id from dw_general_validation_dw_absence_category where general_validation_blacklist_absence_categories_id is not null',0,'condition is false','',''),(151,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_absence_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_absence_category\')','',153,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_absence_category to dw_general_validation_2_absence_category_wl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_absence_category_wl (version, general_validation_id, absence_category_id) select 0, general_validation_whitelist_absence_categories_id, absence_category_id from dw_general_validation_dw_absence_category where general_validation_whitelist_absence_categories_id is not null','insert into dw_general_validation_2_absence_category_wl (version, general_validation_id, absence_category_id) select 0, general_validation_whitelist_absence_categories_id, absence_category_id from dw_general_validation_dw_absence_category where general_validation_whitelist_absence_categories_id is not null',0,'condition is false','',''),(152,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_absence_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_absence\')','',154,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_absence to dw_general_validation_2_absence_wl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_absence_wl (version, general_validation_id, absence_id) select 0, general_validation_whitelist_absences_id, absence_id from dw_general_validation_dw_absence where general_validation_whitelist_absences_id is not null','insert into dw_general_validation_2_absence_wl (version, general_validation_id, absence_id) select 0, general_validation_whitelist_absences_id, absence_id from dw_general_validation_dw_absence where general_validation_whitelist_absences_id is not null',0,'condition is false','',''),(153,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_project_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_project_category\')','',155,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_project_category to dw_general_validation_2_project_category_bl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_project_category_bl (version, general_validation_id, project_category_id) select 0, general_validation_blacklist_project_categories_id, project_category_id from dw_general_validation_dw_project_category where general_validation_blacklist_project_categories_id is not null','insert into dw_general_validation_2_project_category_bl (version, general_validation_id, project_category_id) select 0, general_validation_blacklist_project_categories_id, project_category_id from dw_general_validation_dw_project_category where general_validation_blacklist_project_categories_id is not null',0,'condition is false','',''),(154,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_project_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_project_category\')','',156,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_project_category to dw_general_validation_2_project_category_wl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_project_category_wl (version, general_validation_id, project_category_id) select 0, general_validation_whitelist_project_categories_id, project_category_id from dw_general_validation_dw_project_category where general_validation_whitelist_project_categories_id is not null','insert into dw_general_validation_2_project_category_wl (version, general_validation_id, project_category_id) select 0, general_validation_whitelist_project_categories_id, project_category_id from dw_general_validation_dw_project_category where general_validation_whitelist_project_categories_id is not null',0,'condition is false','',''),(155,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_project_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_project\')','',157,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_project to dw_general_validation_2_project_wl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_project_wl (version, general_validation_id, project_id) select 0, general_validation_whitelist_projects_id, project_id from dw_general_validation_dw_project where general_validation_whitelist_projects_id is not null','insert into dw_general_validation_2_project_wl (version, general_validation_id, project_id) select 0, general_validation_whitelist_projects_id, project_id from dw_general_validation_dw_project where general_validation_whitelist_projects_id is not null',0,'condition is false','',''),(156,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_order_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_order_category\')','',158,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_order_category to dw_general_validation_2_order_category_bl','','2018-02-07 00:36:01','2019-02-25 18:36:21','','insert into dw_general_validation_2_order_category_bl (version, general_validation_id, order_category_id) select 0, general_validation_blacklist_order_categories_id, order_category_id from dw_general_validation_dw_order_category where general_validation_blacklist_order_categories_id is not null','insert into dw_general_validation_2_order_category_bl (version, general_validation_id, order_category_id) select 0, general_validation_blacklist_order_categories_id, order_category_id from dw_general_validation_dw_order_category where general_validation_blacklist_order_categories_id is not null',0,'condition is false','',''),(157,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_order_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_order_category\')','',159,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_order_category to dw_general_validation_2_order_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_order_category_wl (version, general_validation_id, order_category_id) select 0, general_validation_whitelist_order_categories_id, order_category_id from dw_general_validation_dw_order_category where general_validation_whitelist_order_categories_id is not null','insert into dw_general_validation_2_order_category_wl (version, general_validation_id, order_category_id) select 0, general_validation_whitelist_order_categories_id, order_category_id from dw_general_validation_dw_order_category where general_validation_whitelist_order_categories_id is not null',0,'condition is false','',''),(158,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_order_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_order\')','',160,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_order to dw_general_validation_2_order_wl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_order_wl (version, general_validation_id, order_id) select 0, general_validation_whitelist_orders_id, order_id from dw_general_validation_dw_order where general_validation_whitelist_orders_id is not null','insert into dw_general_validation_2_order_wl (version, general_validation_id, order_id) select 0, general_validation_whitelist_orders_id, order_id from dw_general_validation_dw_order where general_validation_whitelist_orders_id is not null',0,'condition is false','',''),(159,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_order_item_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_order_item_category\')','',161,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_order_item_category to dw_general_validation_2_order_item_category_bl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_order_item_category_bl (version, general_validation_id, order_item_category_id) select 0, general_validation_blacklist_order_item_categories_id, order_item_category_id from dw_general_validation_dw_order_item_category where general_validation_blacklist_order_item_categories_id is not null','insert into dw_general_validation_2_order_item_category_bl (version, general_validation_id, order_item_category_id) select 0, general_validation_blacklist_order_item_categories_id, order_item_category_id from dw_general_validation_dw_order_item_category where general_validation_blacklist_order_item_categories_id is not null',0,'condition is false','',''),(160,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_order_item_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_order_item_category\')','',162,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_order_item_category to dw_general_validation_2_order_item_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_order_item_category_wl (version, general_validation_id, order_item_category_id) select 0, general_validation_whitelist_order_item_categories_id, order_item_category_id from dw_general_validation_dw_order_item_category where general_validation_whitelist_order_item_categories_id is not null','insert into dw_general_validation_2_order_item_category_wl (version, general_validation_id, order_item_category_id) select 0, general_validation_whitelist_order_item_categories_id, order_item_category_id from dw_general_validation_dw_order_item_category where general_validation_whitelist_order_item_categories_id is not null',0,'condition is false','',''),(161,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_order_item_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_order_item\')','',163,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_order_item to dw_general_validation_2_order_item_wl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_order_item_wl (version, general_validation_id, order_item_id) select 0, general_validation_whitelist_order_items_id, order_item_id from dw_general_validation_dw_order_item where general_validation_whitelist_order_items_id is not null','insert into dw_general_validation_2_order_item_wl (version, general_validation_id, order_item_id) select 0, general_validation_whitelist_order_items_id, order_item_id from dw_general_validation_dw_order_item where general_validation_whitelist_order_items_id is not null',0,'condition is false','',''),(162,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_cost_unit_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_cost_unit_category\')','',164,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_cost_unit_category to dw_general_validation_2_cost_unit_category_bl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_cost_unit_category_bl (version, general_validation_id, cost_unit_category_id) select 0, general_validation_blacklist_cost_unit_categories_id, cost_unit_category_id from dw_general_validation_dw_cost_unit_category where general_validation_blacklist_cost_unit_categories_id is not null','insert into dw_general_validation_2_cost_unit_category_bl (version, general_validation_id, cost_unit_category_id) select 0, general_validation_blacklist_cost_unit_categories_id, cost_unit_category_id from dw_general_validation_dw_cost_unit_category where general_validation_blacklist_cost_unit_categories_id is not null',0,'condition is false','',''),(163,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_cost_unit_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_cost_unit_category\')','',165,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_cost_unit_category to dw_general_validation_2_cost_unit_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_cost_unit_category_wl (version, general_validation_id, cost_unit_category_id) select 0, general_validation_whitelist_cost_unit_categories_id, cost_unit_category_id from dw_general_validation_dw_cost_unit_category where general_validation_whitelist_cost_unit_categories_id is not null','insert into dw_general_validation_2_cost_unit_category_wl (version, general_validation_id, cost_unit_category_id) select 0, general_validation_whitelist_cost_unit_categories_id, cost_unit_category_id from dw_general_validation_dw_cost_unit_category where general_validation_whitelist_cost_unit_categories_id is not null',0,'condition is false','',''),(164,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_cost_unit_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_cost_unit\')','',166,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_cost_unit to dw_general_validation_2_cost_unit_wl','','2018-02-07 00:36:02','2019-02-25 18:36:21','','insert into dw_general_validation_2_cost_unit_wl (version, general_validation_id, cost_unit_id) select 0, general_validation_whitelist_cost_units_id, cost_unit_id from dw_general_validation_dw_cost_unit where general_validation_whitelist_cost_units_id is not null','insert into dw_general_validation_2_cost_unit_wl (version, general_validation_id, cost_unit_id) select 0, general_validation_whitelist_cost_units_id, cost_unit_id from dw_general_validation_dw_cost_unit where general_validation_whitelist_cost_units_id is not null',0,'condition is false','',''),(165,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_machine_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_machine_category\')','',167,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_machine_category to dw_general_validation_2_machine_category_bl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_machine_category_bl (version, general_validation_id, machine_category_id) select 0, general_validation_blacklist_machine_categories_id, machine_category_id from dw_general_validation_dw_machine_category where general_validation_blacklist_machine_categories_id is not null','insert into dw_general_validation_2_machine_category_bl (version, general_validation_id, machine_category_id) select 0, general_validation_blacklist_machine_categories_id, machine_category_id from dw_general_validation_dw_machine_category where general_validation_blacklist_machine_categories_id is not null',0,'condition is false','',''),(166,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_machine_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_machine_category\')','',168,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_machine_category to dw_general_validation_2_machine_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_machine_category_wl (version, general_validation_id, machine_category_id) select 0, general_validation_whitelist_machine_categories_id, machine_category_id from dw_general_validation_dw_machine_category where general_validation_whitelist_machine_categories_id is not null','insert into dw_general_validation_2_machine_category_wl (version, general_validation_id, machine_category_id) select 0, general_validation_whitelist_machine_categories_id, machine_category_id from dw_general_validation_dw_machine_category where general_validation_whitelist_machine_categories_id is not null',0,'condition is false','',''),(167,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_machine_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_machine\')','',169,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_machine to dw_general_validation_2_machine_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_machine_wl (version, general_validation_id, machine_id) select 0, general_validation_whitelist_machines_id, machine_id from dw_general_validation_dw_machine where general_validation_whitelist_machines_id is not null','insert into dw_general_validation_2_machine_wl (version, general_validation_id, machine_id) select 0, general_validation_whitelist_machines_id, machine_id from dw_general_validation_dw_machine where general_validation_whitelist_machines_id is not null',0,'condition is false','',''),(168,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_workplace_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_workplace_category\')','',170,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_workplace_category to dw_general_validation_2_workplace_category_bl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_workplace_category_bl (version, general_validation_id, workplace_category_id) select 0, general_validation_blacklist_workplace_categories_id, workplace_category_id from dw_general_validation_dw_workplace_category where general_validation_blacklist_workplace_categories_id is not null','insert into dw_general_validation_2_workplace_category_bl (version, general_validation_id, workplace_category_id) select 0, general_validation_blacklist_workplace_categories_id, workplace_category_id from dw_general_validation_dw_workplace_category where general_validation_blacklist_workplace_categories_id is not null',0,'condition is false','',''),(169,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_workplace_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_workplace_category\')','',171,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_workplace_category to dw_general_validation_2_workplace_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_workplace_category_wl (version, general_validation_id, workplace_category_id) select 0, general_validation_whitelist_workplace_categories_id, workplace_category_id from dw_general_validation_dw_workplace_category where general_validation_whitelist_workplace_categories_id is not null','insert into dw_general_validation_2_workplace_category_wl (version, general_validation_id, workplace_category_id) select 0, general_validation_whitelist_workplace_categories_id, workplace_category_id from dw_general_validation_dw_workplace_category where general_validation_whitelist_workplace_categories_id is not null',0,'condition is false','',''),(170,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_workplace_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_workplace\')','',172,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_workplace to dw_general_validation_2_workplace_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_workplace_wl (version, general_validation_id, workplace_id) select 0, general_validation_whitelist_workplaces_id, workplace_id from dw_general_validation_dw_workplace where general_validation_whitelist_workplaces_id is not null','insert into dw_general_validation_2_workplace_wl (version, general_validation_id, workplace_id) select 0, general_validation_whitelist_workplaces_id, workplace_id from dw_general_validation_dw_workplace where general_validation_whitelist_workplaces_id is not null',0,'condition is false','',''),(171,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_workprocess_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_workprocess_category\')','',173,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_workprocess_category to dw_general_validation_2_workprocess_category_bl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_workprocess_category_bl (version, general_validation_id, workprocess_category_id) select 0, general_validation_blacklist_workprocess_categories_id, workprocess_category_id from dw_general_validation_dw_workprocess_category where general_validation_blacklist_workprocess_categories_id is not null','insert into dw_general_validation_2_workprocess_category_bl (version, general_validation_id, workprocess_category_id) select 0, general_validation_blacklist_workprocess_categories_id, workprocess_category_id from dw_general_validation_dw_workprocess_category where general_validation_blacklist_workprocess_categories_id is not null',0,'condition is false','',''),(172,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_workprocess_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_workprocess_category\')','',174,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_workprocess_category to dw_general_validation_2_workprocess_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_workprocess_category_wl (version, general_validation_id, workprocess_category_id) select 0, general_validation_whitelist_workprocess_categories_id, workprocess_category_id from dw_general_validation_dw_workprocess_category where general_validation_whitelist_workprocess_categories_id is not null','insert into dw_general_validation_2_workprocess_category_wl (version, general_validation_id, workprocess_category_id) select 0, general_validation_whitelist_workprocess_categories_id, workprocess_category_id from dw_general_validation_dw_workprocess_category where general_validation_whitelist_workprocess_categories_id is not null',0,'condition is false','',''),(173,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_workprocess_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_workprocess\')','',175,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_workprocess to dw_general_validation_2_workprocess_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_workprocess_wl (version, general_validation_id, workprocess_id) select 0, general_validation_whitelist_workprocesses_id, workprocess_id from dw_general_validation_dw_workprocess where general_validation_whitelist_workprocesses_id is not null','insert into dw_general_validation_2_workprocess_wl (version, general_validation_id, workprocess_id) select 0, general_validation_whitelist_workprocesses_id, workprocess_id from dw_general_validation_dw_workprocess where general_validation_whitelist_workprocesses_id is not null',0,'condition is false','',''),(174,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_terminal_category_bl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_terminal_category\')','',176,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_terminal_category to dw_general_validation_2_terminal_category_bl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_terminal_category_bl (version, general_validation_id, terminal_category_id) select 0, general_validation_blacklist_terminal_categories_id, terminal_category_id from dw_general_validation_dw_terminal_category where general_validation_blacklist_terminal_categories_id is not null','insert into dw_general_validation_2_terminal_category_bl (version, general_validation_id, terminal_category_id) select 0, general_validation_blacklist_terminal_categories_id, terminal_category_id from dw_general_validation_dw_terminal_category where general_validation_blacklist_terminal_categories_id is not null',0,'condition is false','',''),(175,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_terminal_category_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_terminal_category\')','',177,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_terminal_category to dw_general_validation_2_terminal_category_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_terminal_category_wl (version, general_validation_id, terminal_category_id) select 0, general_validation_whitelist_terminal_categories_id, terminal_category_id from dw_general_validation_dw_terminal_category where general_validation_whitelist_terminal_categories_id is not null','insert into dw_general_validation_2_terminal_category_wl (version, general_validation_id, terminal_category_id) select 0, general_validation_whitelist_terminal_categories_id, terminal_category_id from dw_general_validation_dw_terminal_category where general_validation_whitelist_terminal_categories_id is not null',0,'condition is false','',''),(176,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_general_validation_2_terminal_wl\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_general_validation_dw_terminal\')','',178,'2018-02-07 00:35:56','\0','change table from dw_general_validation_dw_terminal to dw_general_validation_2_terminal_wl','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_general_validation_2_terminal_wl (version, general_validation_id, terminal_id) select 0, general_validation_whitelist_terminals_id, terminal_id from dw_general_validation_dw_terminal where general_validation_whitelist_terminals_id is not null','insert into dw_general_validation_2_terminal_wl (version, general_validation_id, terminal_id) select 0, general_validation_whitelist_terminals_id, terminal_id from dw_general_validation_dw_terminal where general_validation_whitelist_terminals_id is not null',0,'condition is false','',''),(177,1,'','',179,'2018-02-07 00:35:56','\0','add GWT_ROLE','','2018-02-07 00:36:02','2018-02-07 00:36:02','','','',0,'OK','','\nimport at.dockwork.security.domain.*\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		Role gwtRole = Role.findByAuthority(\"ROLE_GWT\")\n		if (gwtRole) {\n			User.findAll().each { user ->\n				UserRole userRole = UserRole.findWhere(user:user, role:gwtRole)\n				if (!userRole) {\n					userRole = new UserRole(user:user, role:gwtRole)\n					userRole.save()\n				}\n			}\n		}\n\n		true\n	}\n}\n'),(178,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_user\', \'deleted\')','',180,'2018-02-07 00:35:56','\0','init dw_user.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_user set deleted = 0 where deleted is null','update dw_user set deleted = false where deleted is null',0,'OK','',''),(179,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_access_roles\')','',181,'2018-02-07 00:35:56','\0','init dw_general_validation.all_access_roles = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_general_validation set all_access_roles = 0 where all_access_roles is null','update dw_general_validation set all_access_roles = false where all_access_roles is null',0,'condition is false','',''),(180,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_areas\')','',182,'2018-02-07 00:35:56','\0','init dw_general_validation.all_areas = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_general_validation set all_areas = 0 where all_areas is null','update dw_general_validation set all_areas = false where all_areas is null',0,'OK','',''),(181,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_terminals\')','',183,'2018-02-07 00:35:56','\0','init dw_general_validation.all_terminals = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_general_validation set all_terminals = 0 where all_terminals is null','update dw_general_validation set all_terminals = false where all_terminals is null',0,'OK','',''),(182,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'no_absence\')','',184,'2018-02-07 00:35:56','\0','init dw_general_validation.no_absence = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_general_validation set no_absence = 0 where no_absence is null','update dw_general_validation set no_absence = false where no_absence is null',0,'OK','',''),(183,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_color\', \'deleted\')','',185,'2018-02-07 00:35:56','\0','init dw_color.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_color set deleted = 0 where deleted is null','update dw_color set deleted = false where deleted is null',0,'OK','',''),(184,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'do_configure\')','',186,'2018-02-07 00:35:56','\0','drop dw_device.do_configure','','2018-02-07 00:36:02','2018-02-07 00:36:02','','alter table dw_device drop column do_configure','alter table dw_device drop column do_configure',0,'condition is false','',''),(185,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_person_category_persons\')','',187,'2018-02-07 00:35:56','\0','delete dw_person_category_persons','','2018-02-07 00:36:02','2018-02-07 00:36:02','','delete from dw_person_category_persons','delete from dw_person_category_persons',0,'condition is false','',''),(186,3,'','',188,'2018-02-07 00:35:56','\0','new identifications','','2018-02-07 00:36:02','2019-02-25 18:36:22','','','',0,'OK','','\nimport at.dockwork.common.domain.*\nimport at.dockwork.common.person.domain.*\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		if (at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_identification_2_identification_code\') == 0 &&\n			at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_person_2_identification\') == 0 &&\n			at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_identification_code\', \'identification_id\') &&\n			at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_identification\', \'person_id\')\n			) {\n\n			at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"insert into dw_person_2_identification (version, person_id, identification_id) select 0, person_id, id from dw_identification where person_id is not null\",\n					msSQLStatement:\"insert into dw_person_2_identification (version, person_id, identification_id) select 0, person_id, id from dw_identification where person_id is not null\"\n				]\n			)\n\n			at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"insert into dw_identification_2_identification_code (version, identification_id, identification_code_id) select 0, identification_id, id from dw_identification_code where identification_id is not null\",\n					msSQLStatement:\"insert into dw_identification_2_identification_code (version, identification_id, identification_code_id) select 0, identification_id, id from dw_identification_code where identification_id is not null\"\n				]\n			)\n\n			at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"update dw_identification_code set identification_id = null\",\n					msSQLStatement:\"update dw_identification_code set identification_id = null\"\n				]\n			)\n\n			at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"update dw_identification set person_id = null\",\n					msSQLStatement:\"update dw_identification set person_id = null\"\n				]\n			)\n\n			at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"alter table dw_identification drop column valid_from\",\n					msSQLStatement:\"alter table dw_identification drop column valid_from\"\n				]\n			)\n\n			at.dockwork.system.service.DataSourceService.execute(\n				connection,\n				dataSourceFields,\n				[\n					mySQLStatement:\"alter table dw_identification drop column valid_to\",\n					msSQLStatement:\"alter table dw_identification drop column valid_to\"\n				]\n			)\n		}\n\n		true\n	}\n}\n'),(187,1,'','',189,'2018-02-07 00:35:56','\0','init dw_booking.changed = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_booking set changed = 0','update dw_booking set changed = false',0,'OK','',''),(188,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_group_definition\', \'deleted\')','',190,'2018-02-07 00:35:56','\0','init dw_group_definition.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_group_definition set deleted = 0 where deleted is null','update dw_group_definition set deleted = false where deleted is null',0,'OK','',''),(189,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_group_definition_detail\', \'deleted\')','',191,'2018-02-07 00:35:56','\0','init dw_group_definition_detail.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_group_definition_detail set deleted = 0 where deleted is null','update dw_group_definition_detail set deleted = false where deleted is null',0,'OK','',''),(190,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_sort_definition\', \'deleted\')','',192,'2018-02-07 00:35:56','\0','init dw_sort_definition.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_sort_definition set deleted = 0 where deleted is null','update dw_sort_definition set deleted = false where deleted is null',0,'OK','',''),(191,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_sort_definition_detail\', \'deleted\')','',193,'2018-02-07 00:35:56','\0','init dw_sort_definition_detail.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_sort_definition_detail set deleted = 0 where deleted is null','update dw_sort_definition_detail set deleted = false where deleted is null',0,'OK','',''),(192,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition\', \'deleted\')','',194,'2018-02-07 00:35:56','\0','init dw_time_time_type_definition.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_time_time_type_definition set deleted = 0 where deleted is null','update dw_time_time_type_definition set deleted = false where deleted is null',0,'OK','',''),(193,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'deleted\')','',195,'2018-02-07 00:35:56','\0','init dw_time_time_type_definition_detail.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_time_time_type_definition_detail set deleted = 0 where deleted is null','update dw_time_time_type_definition_detail set deleted = false where deleted is null',0,'OK','',''),(194,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_report_role_2_group_definition\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_role_dw_group_definition\')','',196,'2018-02-07 00:35:56','\0','change table dw_operator_role_dw_group_definition to dw_report_role_2_group_definition','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_report_role_2_group_definition (report_role_id, group_definition_id, version) select report_role_group_definitions_id, group_definition_id, 0  from dw_operator_role_dw_group_definition','insert into dw_report_role_2_group_definition (report_role_id, group_definition_id, version) select report_role_group_definitions_id, group_definition_id, 0  from dw_operator_role_dw_group_definition',0,'condition is false','',''),(195,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_role_dw_group_definition\')','',197,'2018-02-07 00:35:56','\0','delete dw_operator_role_dw_group_definition','','2018-02-07 00:36:02','2018-02-07 00:36:02','','delete from dw_operator_role_dw_group_definition','delete from dw_operator_role_dw_group_definition',0,'condition is false','',''),(196,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_report_role_2_sort_definition\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_role_dw_sort_definition\')','',198,'2018-02-07 00:35:56','\0','change table dw_operator_role_dw_sort_definition to dw_report_role_2_sort_definition','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_report_role_2_sort_definition (report_role_id, sort_definition_id, version) select report_role_sort_definitions_id, sort_definition_id, 0  from dw_operator_role_dw_sort_definition','insert into dw_report_role_2_sort_definition (report_role_id, sort_definition_id, version) select report_role_sort_definitions_id, sort_definition_id, 0  from dw_operator_role_dw_sort_definition',0,'condition is false','',''),(197,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_role_dw_sort_definition\')','',199,'2018-02-07 00:35:56','\0','delete dw_operator_role_dw_sort_definition','','2018-02-07 00:36:02','2018-02-07 00:36:02','','delete from dw_operator_role_dw_sort_definition','delete from dw_operator_role_dw_sort_definition',0,'condition is false','',''),(198,3,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_report_role_2_time_time_type_definition\') == 0 && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_role_dw_time_time_type_definition\')','',200,'2018-02-07 00:35:56','\0','change table dw_operator_role_dw_time_time_type_definition to dw_report_role_2_time_time_type_definition','','2018-02-07 00:36:02','2019-02-25 18:36:22','','insert into dw_report_role_2_time_time_type_definition (report_role_id, time_time_type_definition_id, version) select report_role_time_time_type_definitions_id, time_time_type_definition_id, 0  from dw_operator_role_dw_time_time_type_definition','insert into dw_report_role_2_time_time_type_definition (report_role_id, time_time_type_definition_id, version) select report_role_time_time_type_definitions_id, time_time_type_definition_id, 0  from dw_operator_role_dw_time_time_type_definition',0,'condition is false','',''),(199,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_role_dw_time_time_type_definition\')','',201,'2018-02-07 00:35:56','\0','delete dw_operator_role_dw_time_time_type_definition','','2018-02-07 00:36:02','2018-02-07 00:36:02','','delete from dw_operator_role_dw_time_time_type_definition','delete from dw_operator_role_dw_time_time_type_definition',0,'condition is false','',''),(200,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'deleted\')','',202,'2018-02-07 00:35:56','\0','init dw_operator_role.deleted = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_operator_role set deleted = 0 where deleted is null','update dw_operator_role set deleted = false where deleted is null',0,'OK','',''),(201,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_person_actual_time_info\')','',203,'2018-02-07 00:35:56','\0','delete dw_person_actual_time_info','','2018-02-07 00:36:02','2018-02-07 00:36:02','','delete from dw_person_actual_time_info','delete from dw_person_actual_time_info',0,'condition is false','',''),(202,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_booking_log\')','',204,'2018-02-07 00:35:56','\0','delete dw_booking_log','','2018-02-07 00:36:02','2018-02-07 00:36:02','','delete from dw_booking_log','delete from dw_booking_log',0,'condition is false','',''),(203,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_domain_class\', \'log_persistance\')','',205,'2018-02-07 00:35:56','\0','init dw_domain_class.log_persistance = false','','2018-02-07 00:36:02','2018-02-07 00:36:02','','update dw_domain_class set log_persistance = 0 where log_persistance is null','update dw_domain_class set log_persistance = false where log_persistance is null',0,'OK','',''),(204,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_access_roles\')','',206,'2018-02-07 00:35:56','\0','drop dw_general_validation.all_access_roles','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_general_validation drop column all_access_roles','alter table dw_general_validation drop column all_access_roles',0,'condition is false','',''),(205,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category\', \'class\')','',207,'2018-02-07 00:35:56','\0','drop dw_person_category.class','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_person_category drop column class','alter table dw_person_category drop column class',0,'condition is false','',''),(206,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'planning_active\')','',208,'2018-02-07 00:35:56','\0','init dw_person.planning_active = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person set planning_active = 0','update dw_person set planning_active = false',0,'condition is false','',''),(207,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'time_active\')','',209,'2018-02-07 00:35:56','\0','init dw_person_category_type.time_active = true','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person_category_type set time_active = 1','update dw_person_category_type set time_active = true',0,'OK','',''),(208,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'work_active\')','',210,'2018-02-07 00:35:56','\0','init dw_person_category_type.work_active = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person_category_type set work_active = 0','update dw_person_category_type set work_active = false',0,'OK','',''),(209,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'access_active\')','',211,'2018-02-07 00:35:56','\0','init dw_person_category_type.access_active = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person_category_type set access_active = 0','update dw_person_category_type set access_active = false',0,'OK','',''),(210,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'planning_active\')','',212,'2018-02-07 00:35:56','\0','init dw_person_category_type.planning_active = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person_category_type set planning_active = 0','update dw_person_category_type set planning_active = false',0,'OK','',''),(211,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'visitor_active\')','',213,'2018-02-07 00:35:56','\0','init dw_person.visitor_active = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person set visitor_active = 0','update dw_person set visitor_active = false',0,'condition is false','',''),(212,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'visitor_active\')','',214,'2018-02-07 00:35:56','\0','init dw_person_category_type.visitor_active = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_person_category_type set visitor_active = 0','update dw_person_category_type set visitor_active = false',0,'OK','',''),(213,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'approve\')','',215,'2018-02-07 00:35:56','\0','init dw_time_time_type.approve = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type set approve = 0','update dw_time_time_type set approve = false',0,'OK','',''),(214,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'approve_all_persons\')','',216,'2018-02-07 00:35:56','\0','init dw_time_time_type.approve_all_persons = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type set approve_all_persons = 0','update dw_time_time_type set approve_all_persons = false',0,'OK','',''),(215,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'is_used\')','',217,'2018-02-07 00:35:56','\0','drop dw_device.is_used','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_device drop column is_used','alter table dw_device drop column is_used',0,'condition is false','',''),(216,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking\', \'changed\')','',218,'2018-02-07 00:35:56','\0','init dw_booking.changed','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_booking set changed=0 where changed is null','update dw_booking set changed=false where changed is null',0,'OK','',''),(217,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'valid_from\')','',219,'2018-02-07 00:35:56','\0','drop dw_terminal.valid_from','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_terminal drop column valid_from','alter table dw_terminal drop column valid_from',0,'condition is false','',''),(218,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'valid_to\')','',220,'2018-02-07 00:35:56','\0','drop dw_terminal.valid_to','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_terminal drop column valid_to','alter table dw_terminal drop column valid_to',0,'condition is false','',''),(219,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'do_synchronize_date\')','',221,'2018-02-07 00:35:56','\0','drop dw_terminal.do_synchronize_date','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_terminal drop column do_synchronize_date','alter table dw_terminal drop column do_synchronize_date',0,'condition is false','',''),(220,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'area_in\')','',222,'2018-02-07 00:35:56','\0','drop dw_terminal.area_in','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_terminal drop column area_in','alter table dw_terminal drop column area_in',0,'condition is false','',''),(221,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'area_out\')','',223,'2018-02-07 00:35:56','\0','drop dw_terminal.area_out','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_terminal drop column area_out','alter table dw_terminal drop column area_out',0,'condition is false','',''),(222,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_domain_class\', \'foxpro_spooling\')','',224,'2018-02-07 00:35:56','\0','update dw_domain_class.log_persistance','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_domain_class set log_persistance = 1 where foxpro_spooling = 1','update dw_domain_class set log_persistance = true where foxpro_spooling = true',0,'OK','',''),(223,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_personal_pronoun\', \'deleted\')','',225,'2018-02-07 00:35:56','\0','init dw_personal_pronoun.deleted = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_personal_pronoun set deleted = 0 where deleted is null','update dw_personal_pronoun set deleted = false where deleted is null',0,'OK','',''),(224,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_operator_role\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_detail\')','',226,'2018-02-07 00:35:56','\0','change table dw_user_operator_role to dw_user_2_operator_type','','2018-02-07 00:37:00','2018-02-07 00:37:00','','','',1,'OK','','\nimport at.dockwork.security.domain.*\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_user_2_operator_type_2_person_wl\",\n				msSQLStatement:\"delete from dw_user_2_operator_type_2_person_wl\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_user_2_operator_type_2_person_bl\",\n				msSQLStatement:\"delete from dw_user_2_operator_type_2_person_bl\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_user_2_operator_type_2_person_category_wl\",\n				msSQLStatement:\"delete from dw_user_2_operator_type_2_person_category_wl\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_user_2_operator_type_2_person_category_bl\",\n				msSQLStatement:\"delete from dw_user_2_operator_type_2_person_category_bl\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_user_2_operator_type\",\n				msSQLStatement:\"delete from dw_user_2_operator_type\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_operator_type_2_operation_role_2_personal_pronoun\",\n				msSQLStatement:\"delete from dw_operator_type_2_operation_role_2_personal_pronoun\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_operator_type_2_report_role_2_personal_pronoun\",\n				msSQLStatement:\"delete from dw_operator_type_2_report_role_2_personal_pronoun\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_operator_type_2_operation_role\",\n				msSQLStatement:\"delete from dw_operator_type_2_operation_role\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_operator_type_2_report_role\",\n				msSQLStatement:\"delete from dw_operator_type_2_report_role\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_operator_type_2_script\",\n				msSQLStatement:\"delete from dw_operator_type_2_script\"\n			]\n		)\n\n		resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"delete from dw_operator_type_2_menu\",\n				msSQLStatement:\"delete from dw_operator_type_2_menu\"\n			]\n		)\n\n		true\n	}\n}\n'),(225,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_operator_role\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_detail\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_2_operation_role\') && at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_operator_type_2_operation_role\') == 0','',227,'2018-02-07 00:35:56','\0','change table dw_user_operator_role to dw_user_2_operator_type','','2018-02-07 00:37:00','2018-02-07 00:37:01','','','',1,'OK','','\nimport at.dockwork.common.domain.*\nimport at.dockwork.security.domain.*\n//import at.dockwork.security.operatorType.domain.*\n//import at.dockwork.security.user.domain.*\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		connection.eachRow(\"select id, operator_type_id, operator_role_id, general_validation_id from dw_operator_type_detail where class = \'at.dockwork.security.domain.OperatorTypeOperationDetail\' and operator_type_id is not null\") { operatorTypeDetail ->\n			def operatorType2OperationRole = new OperatorType2OperationRole(\n				operatorType:OperatorType.findWhere(id:(long)operatorTypeDetail?.operator_type_id ?: 0L),\n				operatorRole:OperatorRole.findWhere(id:(long)operatorTypeDetail?.operator_role_id ?: 0L),\n				generalValidation:GeneralValidation.findWhere(id:(long)operatorTypeDetail?.general_validation_id ?: 0L)\n			)\n			operatorType2OperationRole.save()\n			if (operatorType2OperationRole.hasErrors())\n				operatorType2OperationRole.errors.each { println it }\n\n			connection.eachRow(\'select operator_type_detail_personal_pronouns_id, personal_pronoun_id from dw_operator_type_detail_dw_personal_pronoun where operator_type_detail_personal_pronouns_id = \' + operatorTypeDetail.id) { personalPronoun ->\n				def operatorType2OperationRole2PersonalPronoun = new OperatorType2OperationRole2PersonalPronoun(\n					operatorType2OperatorRole:operatorType2OperationRole,\n					personalPronoun:PersonalPronoun.findWhere(id:(long)personalPronoun?.personal_pronoun_id ?: 0L)\n				)\n				operatorType2OperationRole2PersonalPronoun.save()\n				if (operatorType2OperationRole2PersonalPronoun.hasErrors())\n					operatorType2OperationRole2PersonalPronoun.errors.each { println it }\n\n			}\n\n		}\n\n\n		true\n	}\n}\n'),(226,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',228,'2018-02-07 00:35:56','\0','delete from dw_user_2_menu where menuName = \'menuAuthorisation\'','','2018-02-07 00:36:03','2018-02-07 00:36:03','','delete from dw_user_2_menu where menu_id in (select id from dw_menu where name = \'menuAuthorisation\') and user_id not in (select id from dw_user where username = \'dockwork\')','delete from dw_user_2_menu where menu_id in (select id from dw_menu where name = \'menuAuthorisation\') and user_id not in (select id from dw_user where username = \'dockwork\')',0,'OK','',''),(227,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_time_time_type\')','',229,'2018-02-07 00:35:56','\0','init dw_operator_role.select_time_time_type = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_operator_role set select_time_time_type = 0','update dw_operator_role set select_time_time_type = false',0,'OK','',''),(228,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_model_2_detail\', \'day_enum\')','',230,'2018-02-07 00:35:56','\0','init dw_time_model_2_detail.day_enum = \'EVERY_DAY\'','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_model_2_detail set day_enum = \'EVERY_DAY\'','update dw_time_model_2_detail set day_enum = \'EVERY_DAY\'',0,'OK','',''),(229,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'display_column_summary\')','',231,'2018-02-07 00:35:56','\0','drop dw_time_time_type.displayColumnSummary','','2018-02-07 00:37:01','2018-02-07 00:37:01','','alter table dw_time_time_type drop column display_column_summary','alter table dw_time_time_type drop column display_column_summary',1,'condition is false','',''),(230,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_script_2_individual_field\', \'individual_field_data_type_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_script_2_individual_field\', \'data_type\')','',232,'2018-02-07 00:35:56','\0','init dw_script_2_individual_field.individual_field_data_type_enum = data_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_script_2_individual_field set individual_field_data_type_enum = data_type','update dw_script_2_individual_field set individual_field_data_type_enum = data_type',0,'condition is false','',''),(231,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_script_2_individual_field\', \'data_type\')','',233,'2018-02-07 00:35:56','\0','drop dw_script_2_individual_field.data_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_script_2_individual_field drop column data_type','alter table dw_script_2_individual_field drop column data_type',0,'condition is false','',''),(232,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'time_format_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'time_format\')','',234,'2018-02-07 00:35:56','\0','init dw_time_time_type.time_format_enum = time_format','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type set time_format_enum = time_format','update dw_time_time_type set time_format_enum = time_format',0,'condition is false','',''),(233,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'time_format\')','',235,'2018-02-07 00:35:56','\0','drop dw_time_time_type.data_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_time_time_type drop column time_format','alter table dw_time_time_type drop column time_format',0,'condition is false','',''),(234,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'close_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'time_ending\')','',236,'2018-02-07 00:35:56','\0','init dw_time_time_type.close_enum = time_ending','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type set close_enum = time_ending','update dw_time_time_type set close_enum = time_ending',0,'condition is false','',''),(235,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'time_ending\')','',237,'2018-02-07 00:35:56','\0','drop dw_time_time_type.data_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_time_time_type drop column time_ending','alter table dw_time_time_type drop column time_ending',0,'condition is false','',''),(236,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'time_format_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'time_format\')','',238,'2018-02-07 00:35:56','\0','init dw_time_time_type_definition_detail.time_format_enum = time_format','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type_definition_detail set time_format_enum = time_format','update dw_time_time_type_definition_detail set time_format_enum = time_format',0,'condition is false','',''),(237,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'time_format\')','',239,'2018-02-07 00:35:56','\0','drop dw_time_time_type_definition_detail.data_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_time_time_type_definition_detail drop column time_format','alter table dw_time_time_type_definition_detail drop column time_format',0,'condition is false','',''),(238,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_type\', \'time_format_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_type\', \'time_format\')','',240,'2018-02-07 00:35:56','\0','init dw_work_time_type.time_format_enum = time_format','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_work_time_type set time_format_enum = time_format','update dw_work_time_type set time_format_enum = time_format',0,'condition is false','',''),(239,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_type\', \'time_format\')','',241,'2018-02-07 00:35:56','\0','drop dw_work_time_type.data_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_work_time_type drop column time_format','alter table dw_work_time_type drop column time_format',0,'condition is false','',''),(240,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'add_to_real_time\')','',242,'2018-02-07 00:35:56','\0','init dw_time_time_type.add_to_real_time = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type set add_to_real_time = 0','update dw_time_time_type set add_to_real_time = false',0,'OK','',''),(241,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'is_initial_value\')','',243,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.is_initial_value = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type_data set is_initial_value = 0','update dw_time_time_type_data set is_initial_value = false',0,'condition is false','',''),(242,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'initial_value\')','',244,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.initial_value = 0','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type_data set initial_value = 0','update dw_time_time_type_data set initial_value = 0',0,'OK','',''),(243,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'total_value\')','',245,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.total_value = 0','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_time_time_type_data set total_value = 0','update dw_time_time_type_data set total_value = 0',0,'OK','',''),(244,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'time_type\')','',246,'2018-02-07 00:35:56','\0','change table dw_absence.time_time to dw_absence.absence_time_type_enum','','2018-02-07 00:36:03','2018-02-07 00:36:03','','','',0,'condition is false','','\nimport at.dockwork.time.domain.Absence\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'BY_THE_DAY\' where time_type = \'BYTHEDAY\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'BY_THE_DAY\' where time_type = \'BYTHEDAY\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'BY_THE_HOUR\' where time_type = \'BYTHEHOUR\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'BY_THE_HOUR\' where time_type = \'BYTHEHOUR\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'HALF_DAY\' where time_type = \'HALFDAY\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'HALF_DAY\' where time_type = \'HALFDAY\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'ANTE_MERIDIEM\' where time_type = \'ANTEMERIDIEM\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'ANTE_MERIDIEM\' where time_type = \'ANTEMERIDIEM\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'POST_MERIDIEM\' where time_type = \'POSTMERIDIEM\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'POST_MERIDIEM\' where time_type = \'POSTMERIDIEM\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'START_END\' where time_type = \'FROMTO\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'START_END\' where time_type = \'FROMTO\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence set absence_time_type_enum = \'START_END\' where time_type = \'STARTEND\'\",\n				msSQLStatement:\"update dw_absence set absence_time_type_enum = \'START_END\' where time_type = \'STARTEND\'\"\n			]\n		)\n\n		true\n	}\n}\n'),(245,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'time_type\')','',247,'2018-02-07 00:35:56','\0','drop dw_absence.time_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_absence drop column time_type','alter table dw_absence drop column time_type',0,'condition is false','',''),(246,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'time_type_constant\')','',248,'2018-02-07 00:35:56','\0','drop dw_absence.time_type_constant','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_absence drop column time_type_constant','alter table dw_absence drop column time_type_constant',0,'condition is false','',''),(247,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_type\')','',249,'2018-02-07 00:35:56','\0','change table dw_absence_planning_detail.time_time to dw_absence_planning_detail.absence_time_type_enum','','2018-02-07 00:36:03','2018-02-07 00:36:03','','','',0,'condition is false','','\nimport at.dockwork.time.domain.AbsencePlanningDetail\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'BY_THE_DAY\' where time_type = \'BYTHEDAY\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'BY_THE_DAY\' where time_type = \'BYTHEDAY\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'BY_THE_HOUR\' where time_type = \'BYTHEHOUR\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'BY_THE_HOUR\' where time_type = \'BYTHEHOUR\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'HALF_DAY\' where time_type = \'HALFDAY\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'HALF_DAY\' where time_type = \'HALFDAY\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'ANTE_MERIDIEM\' where time_type = \'ANTEMERIDIEM\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'ANTE_MERIDIEM\' where time_type = \'ANTEMERIDIEM\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'POST_MERIDIEM\' where time_type = \'POSTMERIDIEM\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'POST_MERIDIEM\' where time_type = \'POSTMERIDIEM\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'START_END\' where time_type = \'FROMTO\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'START_END\' where time_type = \'FROMTO\'\"\n			]\n		)\n\n		at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'START_END\' where time_type = \'STARTEND\'\",\n				msSQLStatement:\"update dw_absence_planning_detail set absence_time_type_enum = \'START_END\' where time_type = \'STARTEND\'\"\n			]\n		)\n\n		true\n	}\n}\n'),(248,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence_planning_detail\', \'time_type\')','',250,'2018-02-07 00:35:56','\0','drop dw_absence_planning_detail.time_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_absence_planning_detail drop column time_type','alter table dw_absence_planning_detail drop column time_type',0,'condition is false','',''),(249,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_approval\', \'time_type_constant\')','',251,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data_approval.time_type_constant','','2018-02-07 00:36:03','2018-02-07 00:36:03','','alter table dw_time_time_type_data_approval drop column time_type_constant','alter table dw_time_time_type_data_approval drop column time_type_constant',0,'condition is false','',''),(250,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'calculate_the_next_day\')','',252,'2018-02-07 00:35:56','\0','init dw_absence.calculateTheNextDay = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_absence set deleted = 0 where calculate_the_next_day is null','update dw_absence set deleted = false where calculate_the_next_day is null',0,'OK','',''),(251,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'done\')','',253,'2018-02-07 00:35:56','\0','init dw_event_base_data.done = false','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_event_base_data set done = 0 where done is null','update dw_event_base_data set done = false where done is null',0,'OK','',''),(252,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'job_start_type_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'job_start_type\')','',254,'2018-02-07 00:35:56','\0','init dw_device.job_start_type_enum = job_start_type','','2018-02-07 00:36:03','2018-02-07 00:36:03','','update dw_device set job_start_type_enum = job_start_type','update dw_device set job_start_type_enum = job_start_type',0,'condition is false','',''),(253,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'job_start_type_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'job_start_type\')','',255,'2018-02-07 00:35:56','\0','init dw_trigger.job_start_type_enum = job_start_type','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_trigger set job_start_type_enum = job_start_type','update dw_trigger set job_start_type_enum = job_start_type',0,'condition is false','',''),(254,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'job_start_type_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'job_start_type\')','',256,'2018-02-07 00:35:56','\0','drop dw_device.job_start_type','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_device drop column job_start_type','alter table dw_device drop column job_start_type',0,'condition is false','',''),(255,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'job_start_type_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'job_start_type\')','',257,'2018-02-07 00:35:56','\0','drop dw_trigger.job_start_type','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_trigger drop column job_start_type','alter table dw_trigger drop column job_start_type',0,'condition is false','',''),(256,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_operator_role\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_detail\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_2_report_role\') && at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_operator_type_2_report_role\') == 0','',258,'2018-02-07 00:35:56','\0','change table dw_user_operator_role to dw_user_2_operator_type','','2018-02-07 00:37:01','2018-02-07 00:37:01','','','',1,'OK','','\nimport at.dockwork.common.domain.*\nimport at.dockwork.security.domain.*\n//import at.dockwork.security.operatorType.domain.*\n//import at.dockwork.security.user.domain.*\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		connection.eachRow(\"select id, operator_type_id, operator_role_id, general_validation_id from dw_operator_type_detail where class = \'at.dockwork.security.domain.OperatorTypeReportDetail\' and operator_type_id is not null\") { operatorTypeDetail ->\n\n			def operatorType2ReportRole = new OperatorType2ReportRole(\n				operatorType:OperatorType.findWhere(id:(long)operatorTypeDetail?.operator_type_id ?: 0L),\n				operatorRole:OperatorRole.findWhere(id:(long)operatorTypeDetail?.operator_role_id ?: 0L),\n				generalValidation:GeneralValidation.findWhere(id:(long)operatorTypeDetail?.general_validation_id ?: 0L)\n			)\n			operatorType2ReportRole.save()\n			if (operatorType2ReportRole.hasErrors())\n				operatorType2ReportRole.errors.each { println it }\n\n			connection.eachRow(\'select operator_type_detail_personal_pronouns_id, personal_pronoun_id from dw_operator_type_detail_dw_personal_pronoun where operator_type_detail_personal_pronouns_id = \' + operatorTypeDetail.id) { personalPronoun ->\n\n				def operatorType2ReportRole2PersonalPronoun = new OperatorType2ReportRole2PersonalPronoun(\n					operatorType2OperatorRole:operatorType2ReportRole,\n					personalPronoun:PersonalPronoun.findWhere(id:(long)personalPronoun?.personal_pronoun_id ?: 0L)\n				)\n				operatorType2ReportRole2PersonalPronoun.save()\n				if (operatorType2ReportRole2PersonalPronoun.hasErrors())\n					operatorType2ReportRole2PersonalPronoun.errors.each { println it }\n\n			}\n\n		}\n\n\n		true\n	}\n}\n'),(257,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_operator_role\')','',259,'2018-02-07 00:35:56','\0','change table dw_user_operator_role to dw_user_2_operator_type','','2018-02-07 00:37:01','2018-02-07 00:37:01','','','',1,'OK','','\nimport at.dockwork.common.domain.*\nimport at.dockwork.security.domain.*\n//import at.dockwork.security.operatorType.domain.*\n//import at.dockwork.security.user.domain.*\n\nimport groovy.sql.Sql\nimport java.sql.Connection\nimport java.sql.DriverManager\nimport javax.sql.DataSource\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		connection.eachRow(\'select id, user_id, operator_type_id, person_category_id, general_validation_id from dw_user_operator_role where deleted = 0 and transfered_from_user_id is null\') { userOperatorRole ->\n\n			def user2OperatorType = new User2OperatorType(\n				user:User.findWhere(id:(long) (userOperatorRole.user_id) ),\n				operatorType:OperatorType.findWhere(id:(long) (userOperatorRole?.operator_type_id ?: 0L) ),\n				personCategory:PersonCategory.findWhere(id:(long) (userOperatorRole?.person_category_id ?: 0L) ),\n				generalValidation:GeneralValidation.findWhere(id:(long) (userOperatorRole?.general_validation_id ?: 0L) )\n			)\n			user2OperatorType.save()\n			if (user2OperatorType.hasErrors())\n				user2OperatorType.errors.each { println it }\n\n			connection.eachRow(\'select person_category_id, user_operator_role_whitelist_person_categories_id from dw_user_operator_role_dw_person_category where user_operator_role_whitelist_person_categories_id = \' + userOperatorRole.id) { whitelist ->\n\n				def user2OperatorType2PersonCategoryWhitelist = new User2OperatorType2PersonCategoryWhitelist(\n					user2OperatorType:user2OperatorType,\n					personCategory:PersonCategory.findWhere(id:(long) (whitelist?.person_category_id ?: 0L) )\n				)\n				user2OperatorType2PersonCategoryWhitelist.save()\n				if (user2OperatorType2PersonCategoryWhitelist.hasErrors())\n					user2OperatorType2PersonCategoryWhitelist.errors.each { println it }\n\n			}\n			connection.eachRow(\'select person_category_id, user_operator_role_blacklist_person_categories_id from dw_user_operator_role_dw_person_category where user_operator_role_blacklist_person_categories_id = \' + userOperatorRole.id) { blacklist ->\n\n				def user2OperatorType2PersonCategoryBlacklist = new User2OperatorType2PersonCategoryBlacklist(\n					user2OperatorType:user2OperatorType,\n					personCategory:PersonCategory.findWhere(id:(long) (blacklist?.person_category_id ?: 0L) )\n				)\n				user2OperatorType2PersonCategoryBlacklist.save()\n				if (user2OperatorType2PersonCategoryBlacklist.hasErrors())\n					user2OperatorType2PersonCategoryBlacklist.errors.each { println it }\n\n			}\n\n			connection.eachRow(\'select person_id, user_operator_role_whitelist_persons_id from dw_user_operator_role_dw_person where user_operator_role_whitelist_persons_id = \' + userOperatorRole.id) { whitelist ->\n\n				def user2OperatorType2PersonWhitelist = new User2OperatorType2PersonWhitelist(\n					user2OperatorType:user2OperatorType,\n					person:Person.findWhere(id:(long) (whitelist?.person_id ?: 0L) )\n				)\n				user2OperatorType2PersonWhitelist.save()\n				if (user2OperatorType2PersonWhitelist.hasErrors())\n					user2OperatorType2PersonWhitelist.errors.each { println it }\n\n			}\n\n			connection.eachRow(\'select person_id, user_operator_role_blacklist_persons_id from dw_user_operator_role_dw_person where user_operator_role_blacklist_persons_id = \' + userOperatorRole.id) { blacklist ->\n\n				def user2OperatorType2PersonBlacklist = new User2OperatorType2PersonBlacklist(\n					user2OperatorType:user2OperatorType,\n					person:Person.findWhere(id:(long) (blacklist?.person_id ?: 0L) )\n				)\n				user2OperatorType2PersonBlacklist.save()\n				if (user2OperatorType2PersonBlacklist.hasErrors())\n					user2OperatorType2PersonBlacklist.errors.each { println it }\n\n			}\n\n\n		}\n\n		true\n	}\n}\n'),(258,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'close_enum\')','',260,'2018-02-07 00:35:56','\0','change dw_time_time_type.close_enum','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_time_time_type set close_enum = \'NOCLOSE\' WHERE close_enum = \'NOENDING\'','update dw_time_time_type set close_enum = \'NOCLOSE\' WHERE close_enum = \'NOENDING\'',0,'OK','',''),(259,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'calculate_pause\')','',261,'2018-02-07 00:35:56','\0','init dw_absence.calculate_pause','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_absence set calculate_pause = 0 where calculate_pause is null','update dw_absence set calculate_pause = false where calculate_pause is null',0,'OK','',''),(260,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'base_for_pause\')','',262,'2018-02-07 00:35:56','\0','init dw_absence.base_for_pause','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_absence set base_for_pause = 0 where base_for_pause is null','update dw_absence set base_for_pause = false where base_for_pause is null',0,'OK','',''),(261,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'value_like_pause\')','',263,'2018-02-07 00:35:56','\0','init dw_absence.value_like_pause','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_absence set value_like_pause = 0 where value_like_pause is null','update dw_absence set value_like_pause = false where value_like_pause is null',0,'OK','',''),(262,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data\', \'initialized\')','',264,'2018-02-07 00:35:56','\0','init dw_time_time_type_data.initialized','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_time_time_type_data set initialized = 0 where initialized is null','update dw_time_time_type_data set initialized = false where initialized is null',0,'OK','',''),(263,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'base_year\')','',265,'2018-02-07 00:35:56','\0','init dw_terminal_key_flex.base_year','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_key_flex set base_year = 2004 where base_year is null or base_year = 0','update dw_terminal_key_flex set base_year = 2004 where base_year is null or base_year = 0',0,'OK','',''),(264,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'gender_enum\')','',266,'2018-02-07 00:35:56','\0','init dw_person.gender_enum','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_person set gender_enum = \'MALE\'','update dw_person set gender_enum = \'MALE\'',0,'OK','',''),(265,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'time_active\')','',267,'2018-02-07 00:35:56','\0','set dw_person_category_type.time_active','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_person_category_type set time_active = 1','update dw_person_category_type set time_active = true',0,'OK','',''),(266,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'booking_pointer_start\')','',268,'2018-02-07 00:35:56','\0','drop dw_terminal_key_flex.booking_pointer_start','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_terminal_key_flex drop column booking_pointer_start','alter table dw_terminal_key_flex drop column booking_pointer_start',0,'condition is false','',''),(267,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'booking_pointer_size\')','',269,'2018-02-07 00:35:56','\0','drop dw_terminal_key_flex.booking_pointer_size','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_terminal_key_flex drop column booking_pointer_size','alter table dw_terminal_key_flex drop column booking_pointer_size',0,'condition is false','',''),(268,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'last_booking_information_start\')','',270,'2018-02-07 00:35:56','\0','drop dw_terminal_key_flex.last_booking_information_start','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_terminal_key_flex drop column last_booking_information_start','alter table dw_terminal_key_flex drop column last_booking_information_start',0,'condition is false','',''),(269,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'last_booking_information_size\')','',271,'2018-02-07 00:35:56','\0','drop dw_terminal_key_flex.last_booking_information_size','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_terminal_key_flex drop column last_booking_information_size','alter table dw_terminal_key_flex drop column last_booking_information_size',0,'condition is false','',''),(270,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'check_alternate_booking_type\')','',272,'2018-02-07 00:35:56','\0','init dw_terminal_key_flex.check_alternate_booking_type = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_key_flex set check_alternate_booking_type = 0 where check_alternate_booking_type is null','update dw_terminal_key_flex set check_alternate_booking_type = false where check_alternate_booking_type is null',0,'OK','',''),(271,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'show_present_and_absent_persons\')','',273,'2018-02-07 00:35:56','\0','init dw_terminal_key_flex.show_present_and_absent_persons = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_key_flex set show_present_and_absent_persons = 0 where show_present_and_absent_persons is null','update dw_terminal_key_flex set show_present_and_absent_persons = false where show_present_and_absent_persons is null',0,'OK','',''),(272,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'show_present_persons\')','',274,'2018-02-07 00:35:56','\0','init dw_terminal_key_flex.show_present_persons = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_key_flex set show_present_persons = 0 where show_present_persons is null','update dw_terminal_key_flex set show_present_persons = false where show_present_persons is null',0,'OK','',''),(273,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'number_of_persons\')','',275,'2018-02-07 00:35:56','\0','init dw_terminal_key_flex.number_of_persons = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_key_flex set number_of_persons = 0 where number_of_persons is null','update dw_terminal_key_flex set number_of_persons = 0 where number_of_persons is null',0,'OK','',''),(274,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'duration_of_beep\')','',276,'2018-02-07 00:35:56','\0','init dw_terminal_key_flex.duration_of_beep = 0','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_key_flex set duration_of_beep = 0 where duration_of_beep is null','update dw_terminal_key_flex set duration_of_beep = 0 where duration_of_beep is null',0,'OK','',''),(275,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_communication\', \'terminal_command_dw_id\')','',277,'2018-02-07 00:35:56','\0','init dw_terminal_communication.terminal_command_dw_id = 0','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_terminal_communication set terminal_command_dw_id = 0','update dw_terminal_communication set terminal_command_dw_id = 0',0,'OK','',''),(276,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_time_type_id\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_time_type_plus1_id\')','',278,'2018-02-07 00:35:56','\0','init dw_time_time_type_data_transfer.time_time_type_plus1_id','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_time_time_type_data_transfer set time_time_type_plus1_id = time_time_type_id','update dw_time_time_type_data_transfer set time_time_type_plus1_id = time_time_type_id',0,'condition is false','',''),(277,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_time_type_id\')','',279,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data_transfer.time_time_type_id','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_time_time_type_data_transfer drop column time_time_type_id','alter table dw_time_time_type_data_transfer drop column time_time_type_id',0,'condition is false','',''),(278,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_transfer_enum\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_transfer_plus1enum\')','',280,'2018-02-07 00:35:56','\0','init dw_time_time_type_data_transfer.time_transfer_plus1enum','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_time_time_type_data_transfer set time_transfer_plus1enum = time_transfer_enum','update dw_time_time_type_data_transfer set time_transfer_plus1enum = time_transfer_enum',0,'condition is false','',''),(279,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_transfer_enum\')','',281,'2018-02-07 00:35:56','\0','drop dw_time_time_type_data_transfer.time_transfer_enum','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_time_time_type_data_transfer drop column time_transfer_enum','alter table dw_time_time_type_data_transfer drop column time_transfer_enum',0,'condition is false','',''),(280,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_type_data\', \'tza\')','',283,'2018-02-07 00:35:56','\0','drop dw_work_time_type_data.tza','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_work_time_type_data drop column tza','alter table dw_work_time_type_data drop column tza',0,'condition is false','',''),(281,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'time_active\')','',284,'2018-02-07 00:35:56','\0','drop dw_person.time_active','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_person drop column time_active','alter table dw_person drop column time_active',0,'condition is false','',''),(282,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'work_active\')','',285,'2018-02-07 00:35:56','\0','drop dw_person.work_active','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_person drop column work_active','alter table dw_person drop column work_active',0,'condition is false','',''),(283,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'access_active\')','',286,'2018-02-07 00:35:56','\0','drop dw_person.access_active','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_person drop column access_active','alter table dw_person drop column access_active',0,'condition is false','',''),(284,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'planning_active\')','',287,'2018-02-07 00:35:56','\0','drop dw_person.planning_active','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_person drop column planning_active','alter table dw_person drop column planning_active',0,'condition is false','',''),(285,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'visitor_active\')','',288,'2018-02-07 00:35:56','\0','drop dw_person.visitor_active','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_person drop column visitor_active','alter table dw_person drop column visitor_active',0,'condition is false','',''),(286,3,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_terminal_dw_door_state_definition\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_terminal_2_door_state_definition\')','',289,'2018-02-07 00:35:56','\0','change table from dw_terminal_dw_door_state_definition to dw_terminal_2_door_state_definition','','2018-02-07 00:36:04','2019-02-25 18:36:22','','insert into dw_terminal_2_door_state_definition (terminal_id, door_state_definition_id, deleted, version, date_created, last_updated, update_counter) select terminal_door_state_definitions_id, door_state_definition_id, 0, 0, getdate(), getdate(), 0 from dw_terminal_dw_door_state_definition','insert into dw_terminal_2_door_state_definition (terminal_id, door_state_definition_id, deleted, version, date_created, last_updated, update_counter) select terminal_door_state_definitions_id, door_state_definition_id, false, 0, curdate(), curdate(), 0 from dw_terminal_dw_door_state_definition',0,'condition is false','',''),(287,3,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_terminal_dw_identification_type\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_terminal_2_identification_type\')','',290,'2018-02-07 00:35:56','\0','change table from dw_terminal_dw_identification_type to dw_terminal_2_identification_type','','2018-02-07 00:36:04','2019-02-25 18:36:22','','insert into dw_terminal_2_identification_type (terminal_id, identification_type_id, deleted, version, date_created, last_updated, update_counter) select terminal_identification_types_id, identification_type_id, 0, 0, getdate(), getdate(), 0 from dw_terminal_dw_identification_type','insert into dw_terminal_2_identification_type (terminal_id, identification_type_id, deleted, version, date_created, last_updated, update_counter) select terminal_identification_types_id, identification_type_id, false, 0, curdate(), curdate(), 0 from dw_terminal_dw_identification_type',0,'condition is false','',''),(288,3,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_terminal_dw_terminal\') && at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_terminal_2_by_update_data_dependent_terminal\')','',291,'2018-02-07 00:35:56','\0','change table from dw_terminal_dw_terminal to dw_terminal_2_by_update_data_dependent_terminal','','2018-02-07 00:36:04','2019-02-25 18:36:22','','insert into dw_terminal_2_by_update_data_dependent_terminal (terminal_id, by_update_data_dependent_terminal_id, deleted, version, date_created, last_updated, update_counter) select terminal_update_data_depends_on_terminals_id, terminal_id, 0, 0, getdate(), getdate(), 0 from dw_terminal_dw_terminal','insert into dw_terminal_2_by_update_data_dependent_terminal (terminal_id, by_update_data_dependent_terminal_id, deleted, version, date_created, last_updated, update_counter) select terminal_update_data_depends_on_terminals_id, terminal_id, false, 0, curdate(), curdate(), 0 from dw_terminal_dw_terminal',0,'condition is false','',''),(289,1,'','',292,'2018-02-07 00:35:56','\0','clean systemConfiguration 2','','2018-02-07 00:36:04','2018-02-07 00:36:04','','','',0,'OK','','\nimport at.dockwork.system.service.SystemConfigurationService\n\nimport grails.util.Holders\n\n\n\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n\n		systemConfigurationService.deleteByCwID(3)\n\n		true\n	}\n}\n'),(290,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'time_type\')','',293,'2018-02-07 00:35:56','\0','drop dw_absence.time_type','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_absence drop column time_type','alter table dw_absence drop column time_type',0,'condition is false','',''),(291,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'time_type_constant\')','',294,'2018-02-07 00:35:56','\0','drop dw_absence.time_type_constant','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_absence drop column time_type_constant','alter table dw_absence drop column time_type_constant',0,'condition is false','',''),(292,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'mobile_client\')','',295,'2018-02-07 00:35:56','\0','init dw_absence.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_absence set mobile_client = 0','update dw_absence set mobile_client = false',0,'OK','',''),(293,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_project\', \'mobile_client\')','',296,'2018-02-07 00:35:56','\0','init dw_project.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_project set mobile_client = 0','update dw_project set mobile_client = false',0,'OK','',''),(294,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'mobile_client\')','',297,'2018-02-07 00:35:56','\0','init dw_order.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_order set mobile_client = 0','update dw_order set mobile_client = false',0,'OK','',''),(295,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_client\', \'mobile_client\')','',298,'2018-02-07 00:35:56','\0','init dw_order_client.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_order_item set mobile_client = 0','update dw_order_client set mobile_client = false',0,'condition is false','',''),(296,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_cost_unit\', \'mobile_client\')','',299,'2018-02-07 00:35:56','\0','init dw_cost_unit.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_cost_unit set mobile_client = 0','update dw_cost_unit set mobile_client = false',0,'OK','',''),(297,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_machine\', \'mobile_client\')','',300,'2018-02-07 00:35:56','\0','init dw_machine.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_machine set mobile_client = 0','update dw_machine set mobile_client = false',0,'OK','',''),(298,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workplace\', \'mobile_client\')','',301,'2018-02-07 00:35:56','\0','init dw_project.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_workplace set mobile_client = 0','update dw_workplace set mobile_client = false',0,'OK','',''),(299,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workprocess\', \'mobile_client\')','',302,'2018-02-07 00:35:56','\0','init dw_workprocess.mobileClient = false','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_workprocess set mobile_client = 0','update dw_workprocess set mobile_client = false',0,'OK','',''),(300,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'state\')','',303,'2018-02-07 00:35:56','\0','drop dw_order.state','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_order drop column state','alter table dw_order drop column state',0,'condition is false','',''),(301,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'state\')','',304,'2018-02-07 00:35:56','\0','drop dw_order_item.state','','2018-02-07 00:36:04','2018-02-07 00:36:04','','alter table dw_order_item drop column state','alter table dw_order_item drop column state',0,'condition is false','',''),(302,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'order_state_enum\')','',305,'2018-02-07 00:35:56','\0','init dw_order.order_state_enum = \'NONE\'','','2018-02-07 00:36:04','2018-02-07 00:36:04','','update dw_order set order_state_enum = \'NONE\'','update dw_order set order_state_enum = \'NONE\'',0,'OK','',''),(303,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'order_state_enum\')','',306,'2018-02-07 00:35:56','\0','init dw_order_item.order_state_enum = \'NONE\'','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_order_item set order_state_enum = \'NONE\'','update dw_order_item set order_state_enum = \'NONE\'',0,'condition is false','',''),(304,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'ticket_system_active\')','',307,'2018-02-07 00:35:56','\0','init dw_person_category_type.ticket_system_active = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_person_category_type set ticket_system_active = 0','update dw_person_category_type set ticket_system_active = false',0,'OK','',''),(305,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'duration_of_beep\')','',308,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.duration_of_beep = 0','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set duration_of_beep = 0 where duration_of_beep is null','update dw_terminal_key_flex set duration_of_beep = 0 where duration_of_beep is null',0,'OK','',''),(306,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'unlocking_time\')','',310,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.unlocking_time = 0','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set unlocking_time = 0 where unlocking_time is null','update dw_terminal_key_flex set unlocking_time = 0 where unlocking_time is null',0,'OK','',''),(307,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'number_of_impulse\')','',312,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.number_of_impulse = 0','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set number_of_impulse = 0 where number_of_impulse is null','update dw_terminal_key_flex set number_of_impulse = 0 where number_of_impulse is null',0,'OK','',''),(308,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'log_invalid_booking\')','',314,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.log_invalid_booking = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set log_invalid_booking = 0 where log_invalid_booking is null','update dw_terminal_key_flex set log_invalid_booking = false where log_invalid_booking is null',0,'OK','',''),(309,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'set_relay2parallel_to_relay1\')','',316,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.set_relay2parallel_to_relay1 = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set set_relay2parallel_to_relay1 = 0 where set_relay2parallel_to_relay1 is null','update dw_terminal_key_flex set set_relay2parallel_to_relay1 = false where set_relay2parallel_to_relay1 is null',0,'OK','',''),(310,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'time_of_parallel_circuit_in_seconds\')','',318,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.time_of_parallel_circuit_in_seconds = 0','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set time_of_parallel_circuit_in_seconds = 0 where time_of_parallel_circuit_in_seconds is null','update dw_terminal_key_flex set time_of_parallel_circuit_in_seconds = 0 where time_of_parallel_circuit_in_seconds is null',0,'OK','',''),(311,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'show_state_of_input_at_booking\')','',320,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.show_state_of_input_at_booking = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set show_state_of_input_at_booking = 0 where show_state_of_input_at_booking is null','update dw_terminal_key_flex set show_state_of_input_at_booking = false where show_state_of_input_at_booking is null',0,'OK','',''),(312,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'enable_unlocking_button\')','',322,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.enable_unlocking_button = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set enable_unlocking_button = 0 where enable_unlocking_button is null','update dw_terminal_key_flex set enable_unlocking_button = false where enable_unlocking_button is null',0,'OK','',''),(313,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'enable_door_control\')','',324,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.enable_door_control = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set enable_door_control = 0 where enable_door_control is null','update dw_terminal_key_flex set enable_door_control = false where enable_door_control is null',0,'OK','',''),(314,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'enable_too_long_open_alarm\')','',326,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.enable_too_long_open_alarm = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set enable_too_long_open_alarm = 0 where enable_too_long_open_alarm is null','update dw_terminal_key_flex set enable_too_long_open_alarm = false where enable_too_long_open_alarm is null',0,'OK','',''),(315,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'save_each_door_state_change\')','',328,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.save_each_door_state_change = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set save_each_door_state_change = 0 where save_each_door_state_change is null','update dw_terminal_key_flex set save_each_door_state_change = false where save_each_door_state_change is null',0,'OK','',''),(316,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'deactivate_antenna_if_input_set\')','',330,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.deactivate_antenna_if_input_set = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set deactivate_antenna_if_input_set = 0 where deactivate_antenna_if_input_set is null','update dw_terminal_key_flex set deactivate_antenna_if_input_set = false where deactivate_antenna_if_input_set is null',0,'OK','',''),(317,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'save_illegal_entry\')','',332,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.save_illegal_entry = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set save_illegal_entry = 0 where save_illegal_entry is null','update dw_terminal_key_flex set save_illegal_entry = false where save_illegal_entry is null',0,'OK','',''),(318,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'time_of_setting_transistor\')','',334,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.time_of_setting_transistor = 0','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set time_of_setting_transistor = 0 where time_of_setting_transistor is null','update dw_terminal_key_flex set time_of_setting_transistor = 0 where time_of_setting_transistor is null',0,'OK','',''),(319,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'activate_relay2\')','',336,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.activate_relay2 = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set activate_relay2 = 0 where activate_relay2 is null','update dw_terminal_key_flex set activate_relay2 = false where activate_relay2 is null',0,'OK','',''),(320,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'input1checks_if_alarm_system_is_ready_to_turn_sharply\')','',338,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.input1checks_if_alarm_system_is_ready_to_turn_sharply = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set input1checks_if_alarm_system_is_ready_to_turn_sharply = 0 where input1checks_if_alarm_system_is_ready_to_turn_sharply is null','update dw_terminal_key_flex set input1checks_if_alarm_system_is_ready_to_turn_sharply = false where input1checks_if_alarm_system_is_ready_to_turn_sharply is null',0,'OK','',''),(321,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'individual_control_data\')','',340,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.individual_control_data = \'\'','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set individual_control_data = \'\' where individual_control_data is null','update dw_terminal_key_flex set individual_control_data = \'\' where individual_control_data is null',0,'OK','',''),(322,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'individual_control_data2\')','',342,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.individual_control_data2 = \'\'','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set individual_control_data2 = \'\' where individual_control_data2 is null','update dw_terminal_key_flex set individual_control_data2 = \'\' where individual_control_data2 is null',0,'OK','',''),(323,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'number_of_relays\')','',344,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.number_of_relays = 1','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set number_of_relays = 1 where number_of_relays is null','update dw_terminal_key_flex set number_of_relays = 1 where number_of_relays is null',0,'OK','',''),(324,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'activate_relay3\')','',346,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.activate_relay3 = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set activate_relay3 = 0 where activate_relay3 is null','update dw_terminal_key_flex set activate_relay3 = false where activate_relay3 is null',0,'OK','',''),(325,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'activate_relay4\')','',348,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.activate_relay4 = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set activate_relay4 = 0 where activate_relay4 is null','update dw_terminal_key_flex set activate_relay4 = false where activate_relay4 is null',0,'OK','',''),(326,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'activate_relay5\')','',350,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.activate_relay5 = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set activate_relay5 = 0 where activate_relay5 is null','update dw_terminal_key_flex set activate_relay5 = false where activate_relay5 is null',0,'OK','',''),(327,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'activate_relay6\')','',352,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.activate_relay6 = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set activate_relay6 = 0 where activate_relay6 is null','update dw_terminal_key_flex set activate_relay6 = false where activate_relay6 is null',0,'OK','',''),(328,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'parallel_circuit\')','',354,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.parallel_circuit = \'STATIC_OFF\'','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_terminal_key_flex set parallel_circuit = \'STATIC_OFF\' where parallel_circuit is null','update dw_terminal_key_flex set parallel_circuit = \'STATIC_OFF\' where parallel_circuit is null',0,'OK','',''),(329,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',355,'2018-02-07 00:35:57','\0','delete from dw_menu where name = \'keyflexTerminal\' - part 1','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_operator_type_2_menu where menu_id in (select id from dw_menu where name = \'keyflexTerminal\');','delete from dw_operator_type_2_menu where menu_id in (select id from dw_menu where name = \'keyflexTerminal\')',0,'OK','',''),(330,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',356,'2018-02-07 00:35:57','\0','delete from dw_menu where name = \'keyflexTerminal\' - part 2','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_user_2_menu where menu_id in (select id from dw_menu where name = \'keyflexTerminal\');','delete from dw_user_2_menu where menu_id in (select id from dw_menu where name = \'keyflexTerminal\')',0,'OK','',''),(331,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',357,'2018-02-07 00:35:57','\0','delete from dw_menu where name = \'keyflexTerminal\' - part 3','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_menu where name = \'keyflexTerminal\';','delete from dw_menu where name = \'keyflexTerminal\';',0,'OK','',''),(332,1,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_time_time_type_category\')==0','',358,'2018-02-07 00:35:57','\0','insert into dw_time_time_type_category','','2018-02-07 00:36:05','2018-02-07 00:36:05','','','',0,'OK','','import at.dockwork.time.timeType.domain.*\n			\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		boolean error = true\n\n		new TimeTimeTypeCategory(description_de:\"Standard\").save()\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_type set time_time_type_category_id = 1 where time_time_type_category_id is null or time_time_type_category_id = 0\",\n				msSQLStatement:\"update dw_time_time_type set time_time_type_category_id = 1 where time_time_type_category_id is null or time_time_type_category_id = 0\"\n			]\n		)\n			\n		error\n	}\n}'),(333,1,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_time_time_model_category\')==0','',359,'2018-02-07 00:35:57','\0','insert into dw_time_time_model_category','','2018-02-07 00:36:05','2018-02-07 00:36:05','','','',0,'OK','','import at.dockwork.time.timeModel.domain.*\n			\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		boolean error = true\n\n		new TimeTimeModelCategory(description_de:\"Standard\").save()\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_model set time_time_model_category_id = 1 where time_time_model_category_id is null or time_time_model_category_id = 0\",\n				msSQLStatement:\"update dw_time_time_model set time_time_model_category_id = 1 where time_time_model_category_id is null or time_time_model_category_id = 0\"\n			]\n		)\n			\n		error\n	}\n}'),(334,1,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_time_time_plan_category\')==0','',360,'2018-02-07 00:35:57','\0','insert into dw_time_time_plan_category','','2018-02-07 00:36:05','2018-02-07 00:36:05','','','',0,'OK','','import at.dockwork.time.timePlan.domain.*\n			\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		boolean error = true\n\n		new TimeTimePlanCategory(description_de:\"Standard\").save()\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_time_time_plan set time_time_plan_category_id = 1 where time_time_plan_category_id is null or time_time_plan_category_id = 0\",\n				msSQLStatement:\"update dw_time_time_plan set time_time_plan_category_id = 1 where time_time_plan_category_id is null or time_time_plan_category_id = 0\"\n			]\n		)\n			\n		error\n	}\n}'),(335,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_companies\')','',361,'2018-02-07 00:35:57','\0','init dw_general_validation.all_companies = false','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_general_validation set all_companies = 0 where all_companies is null','update dw_general_validation set all_companies = false where all_companies is null',0,'OK','',''),(336,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',362,'2018-02-07 00:35:57','\0','change menu personTimeOverview to viewAbsenceOverview - part 1','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_operator_type_2_menu set menu_id = (select id from dw_menu where name = \'viewAbsenceOverview\') where menu_id in (select id from dw_menu where name = \'personTimeOverview\')','update dw_operator_type_2_menu set menu_id = (select id from dw_menu where name = \'viewAbsenceOverview\') where menu_id in (select id from dw_menu where name = \'personTimeOverview\')',0,'OK','',''),(337,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',363,'2018-02-07 00:35:57','\0','change menu personTimeOverview to viewAbsenceOverview - part 2','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_user_2_menu set menu_id = (select id from dw_menu where name = \'viewAbsenceOverview\') where user_id != 1 and menu_id in (select id from dw_menu where name = \'personTimeOverview\')','update dw_user_2_menu set menu_id = (select id from dw_menu where name = \'viewAbsenceOverview\') where user_id != 1 and menu_id in (select id from dw_menu where name = \'personTimeOverview\')',0,'OK','',''),(338,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',364,'2018-02-07 00:35:57','\0','change menu personTimeOverview to viewAbsenceOverview - part 3','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_user_2_menu where user_id = 1 and menu_id in (select id from dw_menu where name = \'personTimeOverview\')','delete from dw_user_2_menu where user_id = 1 and menu_id in (select id from dw_menu where name = \'personTimeOverview\')',0,'OK','',''),(339,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',365,'2018-02-07 00:35:57','\0','change menu personTimeOverview to viewAbsenceOverview - part 4','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_menu where name = \'personTimeOverview\'','delete from dw_menu where name = \'personTimeOverview\'',0,'OK','',''),(340,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',366,'2018-02-07 00:35:57','\0','change menu viewPresenceAbsence to viewPresenceAbsenceOverview - part 1','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_operator_type_2_menu set menu_id = (select id from dw_menu where name = \'viewPresenceAbsenceOverview\') where menu_id in (select id from dw_menu where name = \'viewPresenceAbsence\')','update dw_operator_type_2_menu set menu_id = (select id from dw_menu where name = \'viewPresenceAbsenceOverview\') where menu_id in (select id from dw_menu where name = \'viewPresenceAbsence\')',0,'OK','',''),(341,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',367,'2018-02-07 00:35:57','\0','change menu viewPresenceAbsence to viewPresenceAbsenceOverview - part 2','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_user_2_menu set menu_id = (select id from dw_menu where name = \'viewPresenceAbsenceOverview\') where user_id != 1 and menu_id in (select id from dw_menu where name = \'viewPresenceAbsence\')','update dw_user_2_menu set menu_id = (select id from dw_menu where name = \'viewPresenceAbsenceOverview\') where user_id != 1 and menu_id in (select id from dw_menu where name = \'viewPresenceAbsence\')',0,'OK','',''),(342,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',368,'2018-02-07 00:35:57','\0','change menu viewPresenceAbsence to viewPresenceAbsenceOverview - part 3','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_user_2_menu where user_id = 1 and menu_id in (select id from dw_menu where name = \'viewPresenceAbsence\')','delete from dw_user_2_menu where user_id = 1 and menu_id in (select id from dw_menu where name = \'viewPresenceAbsence\')',0,'OK','',''),(343,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',369,'2018-02-07 00:35:57','\0','change menu viewPresenceAbsence to viewPresenceAbsenceOverview - part 4','','2018-02-07 00:36:05','2018-02-07 00:36:05','','delete from dw_menu where name = \'viewPresenceAbsence\'','delete from dw_menu where name = \'viewPresenceAbsence\'',0,'OK','',''),(344,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_operator_type_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',370,'2018-02-07 00:35:57','\0','change menu ViewInformation to viewInformation - part 1','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_operator_type_2_menu set menu_id = (select id from dw_menu where name = \'viewInformation\') where menu_id in (select id from dw_menu where name = \'ViewInformation\')','update dw_operator_type_2_menu set menu_id = (select id from dw_menu where name = \'viewInformation\') where menu_id in (select id from dw_menu where name = \'ViewInformation\')',0,'OK','',''),(345,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',371,'2018-02-07 00:35:57','\0','change menu ViewInformation to viewInformation - part 2','','2018-02-07 00:36:05','2018-02-07 00:36:05','','update dw_user_2_menu set menu_id = (select id from dw_menu where name = \'viewInformation\') where user_id != 1 and menu_id in (select id from dw_menu where name = \'ViewInformation\')','update dw_user_2_menu set menu_id = (select id from dw_menu where name = \'viewInformation\') where user_id != 1 and menu_id in (select id from dw_menu where name = \'ViewInformation\')',0,'OK','',''),(346,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_user_2_menu\') &&\n			at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',372,'2018-02-07 00:35:57','\0','change menu ViewInformation to viewInformation - part 3','','2018-02-07 00:36:06','2018-02-07 00:36:06','','delete from dw_user_2_menu where user_id = 1 and menu_id in (select id from dw_menu where name = \'ViewInformation\')','delete from dw_user_2_menu where user_id = 1 and menu_id in (select id from dw_menu where name = \'ViewInformation\')',0,'OK','',''),(347,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\') &&\n			at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type\')','',375,'2018-02-07 00:35:57','\0','init dw_trigger.trigger_type_enum = trigger_type','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_trigger set trigger_type_enum = trigger_type','update dw_trigger set trigger_type_enum = trigger_type',0,'condition is false','',''),(348,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\') &&\n			at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type\')','',376,'2018-02-07 00:35:57','\0','drop dw_trigger.trigger_type','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_trigger drop column trigger_type','alter table dw_trigger drop column trigger_type',0,'condition is false','',''),(349,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_types\')','',381,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_types = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_types = 0 where all_time_time_types is null','update dw_general_validation set all_time_time_types = false where all_time_time_types is null',0,'OK','',''),(350,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_models\')','',382,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_models = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_models = 0 where all_time_time_models is null','update dw_general_validation set all_time_time_models = false where all_time_time_models is null',0,'OK','',''),(351,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_plans\')','',383,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_plans = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_plans = 0 where all_time_time_plans is null','update dw_general_validation set all_time_time_plans = false where all_time_time_plans is null',0,'OK','',''),(352,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_companies\')','',384,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_companies = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_companies = 0 where all_time_time_companies is null','update dw_general_validation set all_time_time_companies = false where all_time_time_companies is null',0,'condition is false','',''),(353,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_employee_function\', \'function\')','',385,'2018-02-07 00:35:57','\0','drop dw_employee_function.function','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_employee_function drop column function','alter table dw_employee_function drop column function',0,'condition is false','',''),(354,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'parallel_circuit\')','',386,'2018-02-07 00:35:57','\0','init dw_terminal_key_flex.parallel_circuit = \'STATIC_OFF\'','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_terminal_key_flex set parallel_circuit = \'STATIC_OFF\' where parallel_circuit is null or parallel_circuit = \'\'','update dw_terminal_key_flex set parallel_circuit = \'STATIC_OFF\' where parallel_circuit is null or parallel_circuit = \'\'',0,'OK','',''),(355,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_companies\')','',387,'2018-02-07 00:35:57','\0','init dw_general_validation.all_companies = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_companies = 0 where all_companies is null','update dw_general_validation set all_companies = false where all_companies is null',0,'OK','',''),(356,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_models\')','',388,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_models = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_models = 0 where all_time_time_models is null','update dw_general_validation set all_time_time_models = false where all_time_time_models is null',0,'OK','',''),(357,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_plans\')','',389,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_plans = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_plans = 0 where all_time_time_plans is null','update dw_general_validation set all_time_time_plans = false where all_time_time_plans is null',0,'OK','',''),(358,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_time_time_types\')','',390,'2018-02-07 00:35:57','\0','init dw_general_validation.all_time_time_types = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_time_time_types = 0 where all_time_time_types is null','update dw_general_validation set all_time_time_types = false where all_time_time_types is null',0,'OK','',''),(359,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_device\', \'individual_cycle_custom_coding\')','',391,'2018-02-07 00:35:57','\0','init dw_device.individual_cycle_custom_coding = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_device set individual_cycle_custom_coding = 0 where individual_cycle_custom_coding is null','update dw_device set individual_cycle_custom_coding = false where individual_cycle_custom_coding is null',0,'OK','',''),(360,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_users\')','',392,'2018-02-07 00:35:57','\0','init dw_general_validation.all_users = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_general_validation set all_users = 0 where all_users is null','update dw_general_validation set all_users = false where all_users is null',0,'OK','',''),(361,1,'at.dockwork.system.service.DataSourceService.getRecordCountOfDatabaseTable(connection, \'dw_user_category\')==0','',393,'2018-02-07 00:35:57','\0','insert into dw_user_category','','2018-02-07 00:36:06','2018-02-07 00:36:06','','','',0,'OK','','import at.dockwork.security.domain.*\n			\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		boolean error = true\n\n		new UserCategory(description:\"Standard\").save()\n\n		def resultMap = at.dockwork.system.service.DataSourceService.execute(\n			connection,\n			dataSourceFields,\n			[\n				mySQLStatement:\"update dw_user set user_category_id = 1 where user_category_id is null or user_category_id = 0\",\n				msSQLStatement:\"update dw_user set user_category_id = 1 where user_category_id is null or user_category_id = 0\"\n			]\n		)\n			\n		error\n	}\n}'),(362,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_user\', \'date_created\')','',394,'2018-02-07 00:35:57','\0','init dw_user.date_created = curdate()','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_user set date_created = getdate()','update dw_user set date_created = curdate()',0,'OK','',''),(363,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_user\', \'last_updated\')','',395,'2018-02-07 00:35:57','\0','init dw_user.last_updated = curdate()','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_user set last_updated = getdate()','update dw_user set last_updated = curdate()',0,'OK','',''),(364,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_type\', \'routable_value\')','',396,'2018-02-07 00:35:57','\0','init dw_operator_type.routable_value = false','','2018-02-07 00:36:06','2018-02-07 00:36:06','','update dw_operator_type set routable_value = 0 where routable_value is null','update dw_operator_type set routable_value = false where routable_value is null',0,'OK','',''),(365,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_type\', \'routable\')','',397,'2018-02-07 00:35:57','\0','drop dw_operator_type.routable','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_operator_type drop column routable','alter table dw_operator_type drop column routable',0,'condition is false','',''),(366,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_planning_model\', \'available_for_all_person_categories\')','',398,'2018-02-07 00:35:57','\0','drop dw_planning_model.available_for_all_person_categories','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_planning_model drop column available_for_all_person_categories','alter table dw_planning_model drop column available_for_all_person_categories',0,'condition is false','',''),(367,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_planning_plan\', \'available_for_all_person_categories\')','',399,'2018-02-07 00:35:57','\0','drop dw_planning_plan.available_for_all_person_categories','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_planning_plan drop column available_for_all_person_categories','alter table dw_planning_plan drop column available_for_all_person_categories',0,'condition is false','',''),(368,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_model\', \'available_for_all_person_categories\')','',400,'2018-02-07 00:35:57','\0','drop dw_time_time_model.available_for_all_person_categories','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_time_time_model drop column available_for_all_person_categories','alter table dw_time_time_model drop column available_for_all_person_categories',0,'condition is false','',''),(369,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'available_for_all_person_categories\')','',401,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.available_for_all_person_categories','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_time_time_plan drop column available_for_all_person_categories','alter table dw_time_time_plan drop column available_for_all_person_categories',0,'condition is false','',''),(370,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'date_of_balance\')','',402,'2018-02-07 00:35:57','\0','drop dw_person.date_of_balance','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column date_of_balance','alter table dw_person drop column date_of_balance',0,'condition is false','',''),(371,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance1\')','',403,'2018-02-07 00:35:57','\0','drop dw_person.balance1','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance1','alter table dw_person drop column balance1',0,'condition is false','',''),(372,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance2\')','',404,'2018-02-07 00:35:57','\0','drop dw_person.balance2','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance2','alter table dw_person drop column balance2',0,'condition is false','',''),(373,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance3\')','',405,'2018-02-07 00:35:57','\0','drop dw_person.balance3','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance3','alter table dw_person drop column balance3',0,'condition is false','',''),(374,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance4\')','',406,'2018-02-07 00:35:57','\0','drop dw_person.balance4','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance4','alter table dw_person drop column balance4',0,'condition is false','',''),(375,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance5\')','',407,'2018-02-07 00:35:57','\0','drop dw_person.balance5','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance5','alter table dw_person drop column balance5',0,'condition is false','',''),(376,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance6\')','',408,'2018-02-07 00:35:57','\0','drop dw_person.balance6','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance6','alter table dw_person drop column balance6',0,'condition is false','',''),(377,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance7\')','',409,'2018-02-07 00:35:57','\0','drop dw_person.balance7','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance7','alter table dw_person drop column balance7',0,'condition is false','',''),(378,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance8\')','',410,'2018-02-07 00:35:57','\0','drop dw_person.balance8','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance8','alter table dw_person drop column balance8',0,'condition is false','',''),(379,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance9\')','',411,'2018-02-07 00:35:57','\0','drop dw_person.balance9','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance9','alter table dw_person drop column balance9',0,'condition is false','',''),(380,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'balance10\')','',412,'2018-02-07 00:35:57','\0','drop dw_person.balance10','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_person drop column balance10','alter table dw_person drop column balance10',0,'condition is false','',''),(381,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_gps_booking\', \'deleted\')','',413,'2018-02-07 00:35:57','\0','drop dw_gps_booking.deleted','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_gps_booking drop column deleted','alter table dw_gps_booking drop column deleted',0,'condition is false','',''),(382,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_person_day_access_schedule\', \'available_for_all_person_categories\')','',421,'2018-02-07 00:35:57','\0','drop dw_keyflex_person_day_access_schedule.available_for_all_person_categories','','2018-02-07 00:36:06','2018-02-07 00:36:06','','alter table dw_keyflex_person_day_access_schedule drop column available_for_all_person_categories','alter table dw_keyflex_person_day_access_schedule drop column available_for_all_person_categories',0,'condition is false','',''),(383,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_person_access_schedule\', \'available_for_all_person_categories\')','',422,'2018-02-07 00:35:57','\0','drop dw_keyflex_person_access_schedule.available_for_all_person_categories','','2018-02-07 00:36:06','2018-02-07 00:36:07','','alter table dw_keyflex_person_access_schedule drop column available_for_all_person_categories','alter table dw_keyflex_person_access_schedule drop column available_for_all_person_categories',0,'condition is false','',''),(384,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_day_access_schedule\', \'available_for_all_person_categories\')','',423,'2018-02-07 00:35:57','\0','drop dw_person_day_access_schedule.available_for_all_person_categories','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_person_day_access_schedule drop column available_for_all_person_categories','alter table dw_person_day_access_schedule drop column available_for_all_person_categories',0,'condition is false','',''),(385,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_access_schedule\', \'available_for_all_person_categories\')','',424,'2018-02-07 00:35:57','\0','drop dw_person_access_schedule.available_for_all_person_categories','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_person_access_schedule drop column available_for_all_person_categories','alter table dw_person_access_schedule drop column available_for_all_person_categories',0,'condition is false','',''),(386,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_initial\', \'comment\')','',425,'2018-02-07 00:35:57','\0','set dw_time_time_type_data_initial.comment nullable','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_time_time_type_data_initial alter column comment varchar(255) null','alter table dw_time_time_type_data_initial modify comment varchar(255) null',0,'OK','',''),(387,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_time_time_plan\', \'employment_contract_enum\')','',426,'2018-02-07 00:35:57','\0','init dw_person_2_time_time_plan.employment_contract_enum','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_person_2_time_time_plan set employment_contract_enum = \'PRESENT\' where employment_contract_enum is null or employment_contract_enum = \'\'','update dw_person_2_time_time_plan set employment_contract_enum = \'PRESENT\' where employment_contract_enum is null or employment_contract_enum = \'\'',0,'OK','',''),(388,0,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_time_time_plan\', \'time_time_plan_id\')','',427,'2018-02-07 00:35:57','\0','set dw_person_2_time_time_plan.time_time_plan_id nullable','',NULL,'2018-02-07 00:35:57','','alter table dw_person_2_time_time_plan alter column time_time_plan_id bigint null','alter table dw_person_2_time_time_plan modify time_time_plan_id bigint null',0,NULL,'',''),(389,1,'','',428,'2018-02-07 00:35:57','\0','clean systemConfiguration','','2018-02-07 00:36:07','2018-02-07 00:36:07','','','',0,'OK','','import at.dockwork.system.service.SystemConfigurationService\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		systemConfigurationService.deleteByCwID(154)\n		systemConfigurationService.deleteByCwID(155)\n		systemConfigurationService.deleteByCwID(801)\n		systemConfigurationService.deleteByCwID(811)\n		systemConfigurationService.deleteByCwID(812)\n		systemConfigurationService.deleteByCwID(813)\n		systemConfigurationService.deleteByCwID(814)\n		systemConfigurationService.deleteByCwID(815)\n		systemConfigurationService.deleteByCwID(816)\n		systemConfigurationService.deleteByCwID(1031)\n		systemConfigurationService.deleteByCwID(1051)\n		systemConfigurationService.deleteByCwID(1052)\n		systemConfigurationService.deleteByCwID(10501)\n		systemConfigurationService.deleteByCwID(10502)\n		systemConfigurationService.deleteByCwID(10511)\n		systemConfigurationService.deleteByCwID(10512)\n		systemConfigurationService.deleteByCwID(99001)\n\n		true\n	}\n}'),(390,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'show_in_validation_start_day_value\')','',429,'2018-02-07 00:35:57','\0','init dw_time_time_type.show_in_validation_start_day_value = 0','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_time_time_type set show_in_validation_start_day_value = 0 where show_in_validation_start_day_value is null','update dw_time_time_type set show_in_validation_start_day_value = 0 where show_in_validation_start_day_value is null',0,'OK','',''),(391,0,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'show_in_validation_end_day_value\')','',430,'2018-02-07 00:35:57','\0','init dw_time_time_type.show_in_validation_end_day_value = 0','',NULL,'2018-02-07 00:35:57','','update dw_time_time_type set show_in_validation_end_day_value = 0 where show_in_validation_end_day_value is null','update dw_time_time_type set show_in_validation_end_day_value = 0 where show_in_validation_end_day_value is null',0,NULL,'',''),(392,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'order_category_id\')','',431,'2018-02-07 00:35:57','\0','drop dw_order_item.order_category_id','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_order_item drop column order_category_id','alter table dw_order_item drop column order_category_id',0,'condition is false','',''),(393,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',432,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum READING_DATA TO READ_DATA','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'READ_DATA\' where trigger_type_enum = \'READING_DATA\'','update dw_trigger set trigger_type_enum = \'READ_DATA\' where trigger_type_enum = \'READING_DATA\'',0,'OK','',''),(394,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',433,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum ACTION TO EXECUTE_ACTION','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'EXECUTE_ACTION\' where trigger_type_enum = \'ACTION\'','update dw_trigger set trigger_type_enum = \'EXECUTE_ACTION\' where trigger_type_enum = \'ACTION\'',0,'OK','',''),(395,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',434,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum SCRIPT TO EXECUTE_SCRIPT','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'EXECUTE_SCRIPT\' where trigger_type_enum = \'SCRIPT\'','update dw_trigger set trigger_type_enum = \'EXECUTE_SCRIPT\' where trigger_type_enum = \'SCRIPT\'',0,'OK','',''),(396,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',435,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum EMAIL TO SEND_EMAIL','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'SEND_EMAIL\' where trigger_type_enum = \'EMAIL\'','update dw_trigger set trigger_type_enum = \'SEND_EMAIL\' where trigger_type_enum = \'EMAIL\'',0,'OK','',''),(397,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',436,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum INFORMATION_TERMINALCOMMUNICATION TO INFORM_ABOUT_TERMINALCOMMUNICATION','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'INFORM_ABOUT_TERMINALCOMMUNICATION\' where trigger_type_enum = \'INFORMATION_TERMINALCOMMUNICATION\'','update dw_trigger set trigger_type_enum = \'INFORM_ABOUT_TERMINALCOMMUNICATION\' where trigger_type_enum = \'INFORMATION_TERMINALCOMMUNICATION\'',0,'OK','',''),(398,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',437,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum TERMINAL_SET_DATE_TIME TO SET_DATE_TIME_IN_TERMINALS','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'SET_DATE_TIME_IN_TERMINALS\' where trigger_type_enum = \'TERMINAL_SET_DATE_TIME\'','update dw_trigger set trigger_type_enum = \'SET_DATE_TIME_IN_TERMINALS\' where trigger_type_enum = \'TERMINAL_SET_DATE_TIME\'',0,'OK','',''),(399,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',438,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum GEOCODING TO SET_GEOCODING_DATA','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'SET_GEOCODING_DATA\' where trigger_type_enum = \'GEOCODING\'','update dw_trigger set trigger_type_enum = \'SET_GEOCODING_DATA\' where trigger_type_enum = \'GEOCODING\'',0,'OK','',''),(400,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',439,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum WRITING_BALANCE TO WRITE_BALANCES','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'WRITE_BALANCES\' where trigger_type_enum = \'WRITING_BALANCE\'','update dw_trigger set trigger_type_enum = \'WRITE_BALANCES\' where trigger_type_enum = \'WRITING_BALANCE\'',0,'OK','',''),(401,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',440,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum CALCULATION TO CALCULATE_TIME_ATTENDANCE','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'CALCULATE_TIME_ATTENDANCE\' where trigger_type_enum = \'CALCULATION\'','update dw_trigger set trigger_type_enum = \'CALCULATE_TIME_ATTENDANCE\' where trigger_type_enum = \'CALCULATION\'',0,'OK','',''),(402,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',441,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum UPDATING_TERMINAL TO UPDATE_TERMINALS','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'UPDATE_TERMINALS\' where trigger_type_enum = \'UPDATING_TERMINAL\'','update dw_trigger set trigger_type_enum = \'UPDATE_TERMINALS\' where trigger_type_enum = \'UPDATING_TERMINAL\'',0,'OK','',''),(403,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_trigger\', \'trigger_type_enum\')','',442,'2018-02-07 00:35:57','\0','change Trigger.triggerTypeEnum INITIALIZING_ID_DATA TO INITIALIZE_ID_DATA','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_trigger set trigger_type_enum = \'INITIALIZE_ID_DATA\' where trigger_type_enum = \'INITIALIZING_ID_DATA\'','update dw_trigger set trigger_type_enum = \'INITIALIZE_ID_DATA\' where trigger_type_enum = \'INITIALIZING_ID_DATA\'',0,'OK','',''),(404,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_identification\', \'deleted\')','',443,'2018-02-07 00:35:57','\0','init dw_person_2_identification.deleted = false','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_person_2_identification set deleted = 0 where deleted is null','update dw_person_2_identification set deleted = false where deleted is null',0,'OK','',''),(405,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'valid_from\')','',444,'2018-02-07 00:35:57','\0','drop dw_terminal.valid_from','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_terminal drop column valid_from','alter table dw_terminal drop column valid_from',0,'condition is false','',''),(406,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'valid_to\')','',445,'2018-02-07 00:35:57','\0','drop dw_terminal.valid_to','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_terminal drop column valid_to','alter table dw_terminal drop column valid_to',0,'condition is false','',''),(407,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'do_synchronize_date\')','',446,'2018-02-07 00:35:57','\0','drop dw_terminal.do_synchronize_date','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_terminal drop column do_synchronize_date','alter table dw_terminal drop column do_synchronize_date',0,'condition is false','',''),(408,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_information_type\', \'send_message_to_terminal\')','',447,'2018-02-07 00:35:57','\0','update dw_information_type set send_message_to_terminal = false','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_information_type set send_message_to_terminal = 0','update dw_information_type set send_message_to_terminal = false',0,'OK','',''),(409,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'code\')','',448,'2018-02-07 00:35:57','\0','int dw_event_base_data.code','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_event_base_data set code = \'\' where code is null','update dw_event_base_data set code = \'\' where code is null',0,'OK','',''),(410,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'pin_code\')','',449,'2018-02-07 00:35:57','\0','int dw_event_base_data.pin_code','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_event_base_data set pin_code = \'\' where pin_code is null','update dw_event_base_data set pin_code = \'\' where pin_code is null',0,'OK','',''),(411,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'type\')','',450,'2018-02-07 00:35:57','\0','int dw_event_base_data.type','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_event_base_data set type = \'\' where type is null','update dw_event_base_data set type = \'\' where type is null',0,'OK','',''),(412,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'entry\')','',451,'2018-02-07 00:35:57','\0','int dw_event_base_data.entry','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_event_base_data set entry = 0 where entry is null','update dw_event_base_data set entry = false where entry is null',0,'OK','',''),(413,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'datum\')','',452,'2018-02-07 00:35:57','\0','drop dw_event.datum','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column datum','alter table dw_event drop column datum',0,'condition is false','',''),(414,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'tip\')','',453,'2018-02-07 00:35:57','\0','drop dw_event.tip','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column tip','alter table dw_event drop column tip',0,'condition is false','',''),(415,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'event_type\')','',454,'2018-02-07 00:35:57','\0','drop dw_event.event_type','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column event_type','alter table dw_event drop column event_type',0,'condition is false','',''),(416,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'code\')','',455,'2018-02-07 00:35:57','\0','drop dw_event.code','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column code','alter table dw_event drop column code',0,'condition is false','',''),(417,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'zusatzdaten\')','',456,'2018-02-07 00:35:57','\0','drop dw_event.zusatzdaten','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column zusatzdaten','alter table dw_event drop column zusatzdaten',0,'condition is false','',''),(418,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'buchungscode\')','',457,'2018-02-07 00:35:57','\0','drop dw_event.buchungscode','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column buchungscode','alter table dw_event drop column buchungscode',0,'condition is false','',''),(419,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event\', \'identification_data\')','',458,'2018-02-07 00:35:57','\0','drop dw_event.identification_data','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_event drop column identification_data','alter table dw_event drop column identification_data',0,'condition is false','',''),(420,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_work_time_type\')','',459,'2018-02-07 00:35:57','\0','init dw_operator_role.select_work_time_type = false','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_operator_role set select_work_time_type = 0 where select_work_time_type is null','update dw_operator_role set select_work_time_type = false where select_work_time_type is null',0,'OK','',''),(421,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_terminal\')','',460,'2018-02-07 00:35:57','\0','init dw_operator_role.select_terminal = false','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_operator_role set select_terminal = 0 where select_terminal is null','update dw_operator_role set select_terminal = false where select_terminal is null',0,'OK','',''),(422,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_event_type\')','',461,'2018-02-07 00:35:57','\0','init dw_operator_role.select_event_type = false','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_operator_role set select_event_type = 0 where select_event_type is null','update dw_operator_role set select_event_type = false where select_event_type is null',0,'OK','',''),(423,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_type_data\', \'tza\')','',462,'2018-02-07 00:35:57','\0','drop dw_work_time_type_data.tza','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_work_time_type_data drop column tza','alter table dw_work_time_type_data drop column tza',0,'condition is false','',''),(424,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox_2_antenna\', \'identification_type_id\')','',463,'2018-02-07 00:35:57','\0','init dw_terminal_chiplox_2_antenna.identification_type_id = 1 where identification_type_id = 0','','2018-02-07 00:36:07','2018-02-07 00:36:07','','update dw_terminal_chiplox_2_antenna set identification_type_id = 1 where identification_type_id = 0','update dw_terminal_chiplox_2_antenna set identification_type_id = 1 where identification_type_id = 0',0,'OK','',''),(425,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_report_role\', \'personal_script\')','',464,'2018-02-07 00:35:57','\0','drop dw_report_role.personal_script','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_report_role drop column personal_script','alter table dw_report_role drop column personal_script',0,'condition is false','',''),(426,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_report_role\', \'personal_script_code\')','',465,'2018-02-07 00:35:57','\0','drop dw_report_role.personal_script_code','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_report_role drop column personal_script_code','alter table dw_report_role drop column personal_script_code',0,'condition is false','',''),(427,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'additional_number1\')','',466,'2018-02-07 00:35:57','\0','drop dw_order.additional_number1','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_order drop column additional_number1','alter table dw_order drop column additional_number1',0,'condition is false','',''),(428,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'additional_number2\')','',467,'2018-02-07 00:35:57','\0','drop dw_order.additional_number2','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_order drop column additional_number2','alter table dw_order drop column additional_number2',0,'condition is false','',''),(429,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'additional_number3\')','',468,'2018-02-07 00:35:57','\0','drop dw_order.additional_number3','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_order drop column additional_number3','alter table dw_order drop column additional_number3',0,'condition is false','',''),(430,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'additional_number4\')','',469,'2018-02-07 00:35:57','\0','drop dw_order.additional_number4','','2018-02-07 00:36:07','2018-02-07 00:36:07','','alter table dw_order drop column additional_number4','alter table dw_order drop column additional_number4',0,'condition is false','',''),(431,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'additional_number5\')','',470,'2018-02-07 00:35:57','\0','drop dw_order.additional_number5','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_order drop column additional_number5','alter table dw_order drop column additional_number5',0,'condition is false','',''),(432,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'duration\')','',471,'2018-02-07 00:35:57','\0','init dw_order.duration','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_order set duration = 0 where duration is null','update dw_order set duration = 0 where duration is null',0,'OK','',''),(433,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order\', \'quantity\')','',472,'2018-02-07 00:35:57','\0','init dw_order.quantity','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_order set quantity = 0 where quantity is null','update dw_order set quantity = 0 where quantity is null',0,'OK','',''),(434,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'duration\')','',473,'2018-02-07 00:35:57','\0','init dw_order_item.duration','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_order_item set duration = 0 where duration is null','update dw_order_item set duration = 0 where duration is null',0,'OK','',''),(435,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_order_item\', \'quantity\')','',474,'2018-02-07 00:35:57','\0','init dw_order_item.quantity','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_order_item set quantity = 0 where quantity is null','update dw_order_item set quantity = 0 where quantity is null',0,'OK','',''),(436,44,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'alternative_filename\')','',475,'2018-02-07 00:35:57','\0','update dw_operator_role.alternative_file where alternative_filename = \'null\'','','2018-02-07 00:36:08','2021-04-06 18:51:48','','update dw_operator_role set alternative_filename = \'\' where alternative_filename = \'null\'','update dw_operator_role set alternative_filename = \'\' where alternative_filename = \'null\'',0,'OK','',''),(437,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_email\', \'user_id\')','',477,'2018-02-07 00:35:57','\0','allow null at dw_email.user_id','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_email alter column user_id numeric(19,0) null','alter table dw_email modify user_id bigint null',0,'OK','',''),(438,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_workflow_types\')','',478,'2018-02-07 00:35:57','\0','init dw_general_validation.all_workflow_types = false','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_general_validation set all_workflow_types = 0 where all_workflow_types is null','update dw_general_validation set all_workflow_types = false where all_workflow_types is null',0,'OK','',''),(439,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_calculation_day_info\', \'calculated_too_soon\')','',479,'2018-02-07 00:35:57','\0','init dw_calculation_day_info.calculated_too_soon = 0','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_calculation_day_info set calculated_too_soon = 0 where calculated_too_soon is null','update dw_calculation_day_info set calculated_too_soon = 0 where calculated_too_soon is null',0,'OK','',''),(440,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_calculation_day_info\', \'calculated_too_late\')','',480,'2018-02-07 00:35:57','\0','init dw_calculation_day_info.calculated_too_late = 0','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_calculation_day_info set calculated_too_late = 0 where calculated_too_late is null','update dw_calculation_day_info set calculated_too_late = 0 where calculated_too_late is null',0,'OK','',''),(441,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow_type_2_action\', \'value1\')','',481,'2018-02-07 00:35:57','\0','drop dw_workflow_type_2_action.value1','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow_type_2_action drop column value1','alter table dw_workflow_type_2_action drop column value1',0,'condition is false','',''),(442,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow_type_2_action\', \'value2\')','',482,'2018-02-07 00:35:57','\0','drop dw_workflow_type_2_action.value2','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow_type_2_action drop column value2','alter table dw_workflow_type_2_action drop column value2',0,'condition is false','',''),(443,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow\', \'value1\')','',483,'2018-02-07 00:35:57','\0','drop dw_workflow.value1','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow drop column value1','alter table dw_workflow drop column value1',0,'condition is false','',''),(444,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow\', \'value2\')','',484,'2018-02-07 00:35:57','\0','drop dw_workflow.value2','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow drop column value2','alter table dw_workflow drop column value2',0,'condition is false','',''),(445,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow\', \'text1\')','',485,'2018-02-07 00:35:57','\0','drop dw_workflow.text1','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow drop column text1','alter table dw_workflow drop column text1',0,'condition is false','',''),(446,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow\', \'text2\')','',486,'2018-02-07 00:35:57','\0','drop dw_workflow.text2','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow drop column text2','alter table dw_workflow drop column text2',0,'condition is false','',''),(447,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_workflow\', \'workflow_enum\')','',487,'2018-02-07 00:35:57','\0','drop dw_workflow.workflow_enum','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_workflow drop column workflow_enum','alter table dw_workflow drop column workflow_enum',0,'condition is false','',''),(448,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_monday\')','',488,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_monday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_monday','alter table dw_time_time_plan drop column is_used_target_time_monday',0,'condition is false','',''),(449,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_tuesday\')','',489,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_tuesday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_tuesday','alter table dw_time_time_plan drop column is_used_target_time_tuesday',0,'condition is false','',''),(450,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_wednesday\')','',490,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_wednesday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_wednesday','alter table dw_time_time_plan drop column is_used_target_time_wednesday',0,'condition is false','',''),(451,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_thursday\')','',491,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_thursday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_thursday','alter table dw_time_time_plan drop column is_used_target_time_thursday',0,'condition is false','',''),(452,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_friday\')','',492,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_friday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_friday','alter table dw_time_time_plan drop column is_used_target_time_friday',0,'condition is false','',''),(453,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_saturday\')','',493,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_saturday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_saturday','alter table dw_time_time_plan drop column is_used_target_time_saturday',0,'condition is false','',''),(454,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'is_used_target_time_sunday\')','',494,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.is_used_target_time_sunday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column is_used_target_time_sunday','alter table dw_time_time_plan drop column is_used_target_time_sunday',0,'condition is false','',''),(455,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_monday\')','',495,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_monday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_monday','alter table dw_time_time_plan drop column target_time_monday',0,'condition is false','',''),(456,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_tuesday\')','',496,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_tuesday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_tuesday','alter table dw_time_time_plan drop column target_time_tuesday',0,'condition is false','',''),(457,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_wednesday\')','',497,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_wednesday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_wednesday','alter table dw_time_time_plan drop column target_time_wednesday',0,'condition is false','',''),(458,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_thursday\')','',498,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_thursday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_thursday','alter table dw_time_time_plan drop column target_time_thursday',0,'condition is false','',''),(459,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_friday\')','',499,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_friday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_friday','alter table dw_time_time_plan drop column target_time_friday',0,'condition is false','',''),(460,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_saturday\')','',500,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_saturday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_saturday','alter table dw_time_time_plan drop column target_time_saturday',0,'condition is false','',''),(461,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'target_time_sunday\')','',501,'2018-02-07 00:35:57','\0','drop dw_time_time_plan.target_time_sunday','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_time_time_plan drop column target_time_sunday','alter table dw_time_time_plan drop column target_time_sunday',0,'condition is false','',''),(462,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'number\')','',502,'2018-02-07 00:35:57','\0','init dw_terminal.number','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_terminal set number = \'\' where number is null','update dw_terminal set number = \'\' where number is null',0,'OK','',''),(463,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_time_active\')','',503,'2018-02-07 00:35:57','\0','init dw_person.noTimeActive','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_person set no_time_active = 0 where no_time_active is null','update dw_person set no_time_active = false where no_time_active is null',0,'OK','',''),(464,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_work_active\')','',504,'2018-02-07 00:35:57','\0','init dw_person.noWorkActive','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_person set no_work_active = 0 where no_work_active is null','update dw_person set no_work_active = false where no_work_active is null',0,'OK','',''),(465,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_access_active\')','',505,'2018-02-07 00:35:57','\0','init dw_person.noAccessActive','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_person set no_access_active = 0 where no_access_active is null','update dw_person set no_access_active = false where no_access_active is null',0,'OK','',''),(466,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_planning_active\')','',506,'2018-02-07 00:35:57','\0','init dw_person.noPlanningActive','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_person set no_planning_active = 0 where no_planning_active is null','update dw_person set no_planning_active = false where no_planning_active is null',0,'OK','',''),(467,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_visitor_active\')','',507,'2018-02-07 00:35:57','\0','init dw_person.noVisitorActive','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_person set no_visitor_active = 0 where no_visitor_active is null','update dw_person set no_visitor_active = false where no_visitor_active is null',0,'OK','',''),(468,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_ticket_system_active\')','',508,'2018-02-07 00:35:57','\0','init dw_person.noTicketSystemActive','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_person set no_ticket_system_active = 0 where no_ticket_system_active is null','update dw_person set no_ticket_system_active = false where no_ticket_system_active is null',0,'OK','',''),(469,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_simulation_2_menu\', \'width\')','',509,'2018-02-07 00:35:57','\0','drop dw_terminal_simulation_2_menu.width','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_terminal_simulation_2_menu drop column width','alter table dw_terminal_simulation_2_menu drop column width',0,'condition is false','',''),(470,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_simulation_2_menu\', \'height\')','',510,'2018-02-07 00:35:57','\0','drop dw_terminal_simulation_2_menu.height','','2018-02-07 00:36:08','2018-02-07 00:36:08','','alter table dw_terminal_simulation_2_menu drop column height','alter table dw_terminal_simulation_2_menu drop column height',0,'condition is false','',''),(471,1,'','',511,'2018-02-07 00:35:57','\0','clean systemConfiguration','','2018-02-07 00:36:08','2018-02-07 00:36:08','','','',0,'OK','','import at.dockwork.system.service.SystemConfigurationService\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		systemConfigurationService.deleteByCwID(65)\n\n		true\n	}\n}'),(472,1,'','',512,'2018-02-07 00:35:57','\0','identifications: trimLeadingZeros','','2018-02-07 00:36:08','2018-02-07 00:36:08','','','',0,'OK','','import at.dockwork.utility.ToolsService\nimport at.dockwork.common.domain.IdentificationCode\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	def identificationCodeWriteService = Holders.grailsApplication.mainContext.getBean \'identificationCodeWriteService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		IdentificationCode.findAll().each{ identificationCode ->\n		    identificationCode.code = ToolsService.trimLeadingString(identificationCode?.code ?: \"\", \"0\")\n		    identificationCodeWriteService.save(identificationCode)\n		}\n\n		true\n	}\n}'),(473,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking\', \'quantity\')','',513,'2018-02-07 00:35:57','\0','init dw_booking.quantity','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_booking set quantity = 0 where quantity is null','update dw_booking set quantity = 0 where quantity is null',0,'OK','',''),(474,2,'','',514,'2018-02-07 00:35:57','\0','\"delete from dw_menu where menuName = \'menuAuthorisation\'','','2018-02-07 00:36:08','2018-05-22 11:22:39','','update dw_menu set deleted = 1 where name = \'menuAuthorisation\'','update dw_menu set deleted = true where name = \'menuAuthorisation\'',0,'OK','',''),(475,2,'','',515,'2018-02-07 00:35:57','\0','delete from dw_menu where menuName = \'menu\'','','2018-02-07 00:36:08','2018-05-22 11:22:39','','update dw_menu set deleted = 1 where name=\'menu\'','update dw_menu set deleted = true where name=\'menu\'',0,'OK','',''),(476,2,'','',516,'2018-02-07 00:35:57','\0','delete from dw_menu where menuName = \'personTimeOverview\'','','2018-02-07 00:36:08','2018-05-22 11:22:39','','update dw_menu set deleted = 1 where name = \'personTimeOverview\'','update dw_menu set deleted = true where name = \'personTimeOverview\'',0,'OK','',''),(477,2,'','',517,'2018-02-07 00:35:57','\0','delete from dw_menu where menuName = \'viewPresenceAbsence\'','','2018-02-07 00:36:08','2018-05-22 11:22:39','','update dw_menu set deleted = 1 where name = \'viewPresenceAbsence\'','update dw_menu set deleted = true where name = \'viewPresenceAbsence\'',0,'OK','',''),(478,1,'','',518,'2018-02-07 00:35:57','\0','update dw_time_plan_2_detail set position = 0','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_time_plan_2_detail set position = 0 where position is null','update dw_time_plan_2_detail set position = 0 where position is null',0,'OK','',''),(479,1,'','',519,'2018-02-07 00:35:57','\0','update dw_calculation_day_info set shift_rotation_plan_position = 0','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_calculation_day_info set shift_rotation_plan_position = 0 where shift_rotation_plan_position is null','update dw_calculation_day_info set shift_rotation_plan_position = 0 where shift_rotation_plan_position is null',0,'OK','',''),(480,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'close_enum\')','',520,'2018-02-07 00:35:57','\0','change TimeTimeType.closeEnum INDIVIDUAL TO INDIVIDUAL_DAY_AND_MONTH_OF_YEAR','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_time_time_type set close_enum = \'INDIVIDUAL_DAY_AND_MONTH_OF_YEAR\' where close_enum = \'INDIVIDUAL\'','update dw_time_time_type set close_enum = \'INDIVIDUAL_DAY_AND_MONTH_OF_YEAR\' where close_enum = \'INDIVIDUAL\'',0,'OK','',''),(481,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'individual_close_day\')','',521,'2018-02-07 00:35:58','\0','init dw_time_time_type.individual_close_day','','2018-02-07 00:36:08','2018-02-07 00:36:08','','update dw_time_time_type set individual_close_day = 0 where individual_close_day is null','update dw_time_time_type set individual_close_day = 0 where individual_close_day is null',0,'OK','',''),(482,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'individual_close_month\')','',522,'2018-02-07 00:35:58','\0','init dw_time_time_type.individual_close_month','','2018-02-07 00:36:09','2018-02-07 00:36:09','','update dw_time_time_type set individual_close_month = 0 where individual_close_month is null','update dw_time_time_type set individual_close_month = 0 where individual_close_month is null',0,'OK','',''),(483,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'fill_up\')','',523,'2018-02-07 00:35:58','\0','init dw_absence.fillUp','','2018-02-07 00:36:09','2018-02-07 00:36:09','','update dw_absence set fill_up = 0 where fill_up is null','update dw_absence set fill_up = 0 where fill_up is null',0,'OK','',''),(484,2,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'average_days\')','',524,'2018-02-07 00:35:58','\0','init absence.averageDays','','2018-02-07 00:36:09','2018-05-22 11:22:39','','update dw_absence set average_days = 0 where average_days is null','update dw_absence set average_days = 0 where average_days is null',0,'OK','',''),(485,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'set_relay2parallel_to_relay1\')','',525,'2018-05-22 11:22:39','\0','update dw_terminal_key_flex.set_relay2parallel_to_relay1 = false','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_key_flex set set_relay2parallel_to_relay1 = 0','update dw_terminal_key_flex set set_relay2parallel_to_relay1 = 0',0,'OK','',''),(486,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'class\')','',-100,'2018-05-22 11:22:39','\0','init systemConfiguration.class','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_system_configuration set class=\'at.dockwork.system.domain.SystemConfiguration\' where class is null or class = \'\'','update dw_system_configuration set class=\'at.dockwork.system.domain.SystemConfiguration\' where class is null or class = \'\'',0,'OK','',''),(487,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'priority_for_system_configurations\')','',527,'2018-05-22 11:22:39','\0','init GeneralValidation.priorityForSystemConfigurations','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_general_validation set priority_for_system_configurations = 0 where priority_for_system_configurations is null','update dw_general_validation set priority_for_system_configurations = 0 where priority_for_system_configurations is null',0,'OK','',''),(488,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'rewritable_in_general_validation\')','',-1,'2018-05-22 11:22:39','\0','init SystemConfiguration.rewritableInGeneralValidation','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_system_configuration set rewritable_in_general_validation = 0 where rewritable_in_general_validation is null','update dw_system_configuration set rewritable_in_general_validation = 0 where rewritable_in_general_validation is null',0,'OK','',''),(489,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'rewritable_in_general_validation\')','',529,'2018-05-22 11:22:39','\0','set SystemConfiguration.rewritableInGeneralValidation: 601, 602, 603, 605, 606, 607, 611, 612','','2018-05-22 11:22:40','2018-05-22 11:22:40','','','',0,'OK','','import at.dockwork.common.domain.GeneralValidation\nimport at.dockwork.common.generalValidation.domain.GeneralValidation2SystemConfiguration\nimport at.dockwork.system.domain.SystemConfiguration\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	def systemConfigurationWriteService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationWriteService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		def gormCriteria = SystemConfiguration.createCriteria()\n		def systemConfigurationList = gormCriteria {\n\n			and {\n				\'in\'(\"cwID\", [601, 602, 603, 604, 605, 606, 607, 611, 612])\n				eq(\"deleted\", false)\n			}\n\n		}\n\n		systemConfigurationList.each{ systemConfiguration ->\n\n            systemConfiguration.rewritableInGeneralValidation = true\n            systemConfigurationWriteService.save(systemConfiguration)\n\n		}\n\n		true\n	}\n}'),(490,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_bookings\')','',530,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_bookings = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_bookings = 0 where number_of_bookings is null','update dw_terminal_gantner set number_of_bookings = 0 where number_of_bookings is null',0,'OK','',''),(491,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_text\')','',531,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_text = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_text = 0 where number_of_text is null','update dw_terminal_gantner set number_of_text = 0 where number_of_text is null',0,'OK','',''),(492,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_cost_units\')','',532,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_cost_units = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_cost_units = 0 where number_of_cost_units is null','update dw_terminal_gantner set number_of_cost_units = 0 where number_of_cost_units is null',0,'OK','',''),(493,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_orders\')','',533,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_orders = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_orders = 0 where number_of_orders is null','update dw_terminal_gantner set number_of_orders = 0 where number_of_orders is null',0,'OK','',''),(494,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_workplaces\')','',534,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_workplaces = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_workplaces = 0 where number_of_workplaces is null','update dw_terminal_gantner set number_of_workplaces = 0 where number_of_workplaces is null',0,'OK','',''),(495,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_workprocesses\')','',535,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_workprocesses = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_workprocesses = 0 where number_of_workprocesses is null','update dw_terminal_gantner set number_of_workprocesses = 0 where number_of_workprocesses is null',0,'OK','',''),(496,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_absences\')','',536,'2018-05-22 11:22:39','\0','init dw_terminal_gantner.number_of_absences = 0','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_terminal_gantner set number_of_absences = 0 where number_of_absences is null','update dw_terminal_gantner set number_of_absences = 0 where number_of_absences is null',0,'OK','',''),(497,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_day_access_schedule\', \'active_from_first_access\')','',537,'2018-05-22 11:22:39','\0','init dw_keyflex_door_day_access_schedule.active_from_first_access = false','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_keyflex_door_day_access_schedule set active_from_first_access = 0 where active_from_first_access is null','update dw_keyflex_door_day_access_schedule set active_from_first_access = false where active_from_first_access is null',0,'OK','',''),(498,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_access_schedule\', \'active_from_first_access\')','',538,'2018-05-22 11:22:39','\0','drop dw_keyflex_door_access_schedule.active_from_first_access','','2018-05-22 11:22:40','2018-05-22 11:22:40','','alter table dw_keyflex_door_access_schedule drop column active_from_first_access','alter table dw_keyflex_door_access_schedule drop column active_from_first_access',0,'OK','',''),(499,2,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',539,'2018-05-22 11:22:39','\0','delete sorex-Menues','','2018-05-22 11:22:40','2019-02-25 18:36:23','','','',0,'OK','','import at.dockwork.security.domain.*\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		Menu.executeQuery(\"select id from Menu where name like \'%Sorex%\'\").each {\n		    Menu menu = Menu.get(it)\n		    if (menu) {\n			    OperatorType2Menu.executeUpdate(\"delete from OperatorType2Menu where menu=?\", menu)\n			    OperatorType2AutoStartedMenu.executeUpdate(\"delete from OperatorType2AutoStartedMenu where menu=?\", menu)\n			    menu.delete(flush:true)\n			}\n		}\n\n		true\n	}\n}'),(500,2,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',540,'2018-05-22 11:22:39','\0','delete old menus','','2018-05-22 11:22:40','2019-02-25 18:36:23','','','',0,'OK','','import at.dockwork.security.domain.*\n\nclass UpdateScriptService {\n\n	def run(def connection, def dataSourceFields) {\n\n		Menu.executeQuery(\"select id from Menu where deleted = 1\").each {\n		    Menu menu = Menu.get(it)\n		    if (menu) {\n			    OperatorType2Menu.executeUpdate(\"delete from OperatorType2Menu where menu=?\", menu)\n			    User2Menu.executeUpdate(\"delete from User2Menu where menu=?\", menu)\n			    OperatorType2AutoStartedMenu.executeUpdate(\"delete from OperatorType2AutoStartedMenu where menu=?\", menu)\n			    menu.delete(flush:true)\n			}\n		}\n\n		Menu.executeQuery(\"select id from Menu where name = \'keyflexPersonWeekSchedule\'\").each {\n		    Menu menu = Menu.get(it)\n		    if (menu) {\n			    OperatorType2Menu.executeUpdate(\"delete from OperatorType2Menu where menu=?\", menu)\n			    User2Menu.executeUpdate(\"delete from User2Menu where menu=?\", menu)\n			    OperatorType2AutoStartedMenu.executeUpdate(\"delete from OperatorType2AutoStartedMenu where menu=?\", menu)\n			    menu.delete(flush:true)\n			}\n		}\n\n		Menu.executeQuery(\"select id from Menu where name = \'cCostUnitCategory\'\").each {\n		    Menu menu = Menu.get(it)\n		    if (menu) {\n			    OperatorType2Menu.executeUpdate(\"delete from OperatorType2Menu where menu=?\", menu)\n			    User2Menu.executeUpdate(\"delete from User2Menu where menu=?\", menu)\n			    OperatorType2AutoStartedMenu.executeUpdate(\"delete from OperatorType2AutoStartedMenu where menu=?\", menu)\n			    menu.delete(flush:true)\n			}\n		}\n\n		true\n	}\n}'),(501,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'value_like_presence\')','',541,'2018-05-22 11:22:39','\0','init dw_absence.valueLikePresence = false','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_absence set value_like_presence = 0 where value_like_presence is null','update dw_absence set value_like_presence = false where value_like_presence is null',0,'OK','',''),(502,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'calculate_the_next_day\')','',542,'2018-05-22 11:22:39','\0','init dw_absence.calculateTheNextDay = false','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_absence set calculate_the_next_day = 0 where calculate_the_next_day is null','update dw_absence set calculate_the_next_day = false where calculate_the_next_day is null',0,'OK','',''),(503,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'show_in_legend\')','',543,'2018-05-22 11:22:39','\0','init dw_absence.showInLegend = false','','2018-05-22 11:22:40','2018-05-22 11:22:40','','update dw_absence set show_in_legend = 0 where show_in_legend is null','update dw_absence set show_in_legend = false where show_in_legend is null',0,'OK','',''),(504,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_manual\', \'time_from\')','',544,'2018-08-28 10:51:52','\0','drop dw_work_time_manual.time_from','','2018-08-28 10:51:52','2018-08-28 10:51:52','','alter table dw_work_time_manual drop column time_from','alter table dw_work_time_manual drop column time_from',0,'OK','',''),(505,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_manual\', \'time_to\')','',545,'2018-08-28 10:51:52','\0','drop dw_work_time_manual.time_to','','2018-08-28 10:51:52','2018-08-28 10:51:52','','alter table dw_work_time_manual drop column time_to','alter table dw_work_time_manual drop column time_to',0,'OK','',''),(506,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_manual\', \'duration\')','',546,'2018-08-28 10:51:52','\0','drop dw_work_time_manual.duration','','2018-08-28 10:51:52','2018-08-28 10:51:52','','alter table dw_work_time_manual drop column duration','alter table dw_work_time_manual drop column duration',0,'OK','',''),(507,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_menu\')','',547,'2018-08-28 10:51:52','\0','delete old menus','','2018-08-28 10:51:53','2018-08-28 10:51:53','','','',0,'OK','','import at.dockwork.common.domain.*\nimport at.dockwork.system.domain.*\nimport at.dockwork.generated.service.*\n\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	TriggerWriteService triggerWriteService = Holders.grailsApplication.mainContext.getBean \'triggerWriteService\'\n\n	def run(def connection, def dataSourceFields) {\n\n        Script.findAllWhere(deleted:false).each { Script script ->\n\n            if (script.trigger) {\n                script.trigger.script = script\n                triggerWriteService.save(script.trigger)\n            }\n\n        }\n\n		true\n	}\n}'),(508,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_changed_access_authorisation_spooler\', \'counter\')','',548,'2018-08-28 10:51:52','\0','add dw_changed_access_authorisation_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_changed_access_authorisation_spooler add counter INTEGER','alter table dw_changed_access_authorisation_spooler add column counter INTEGER',0,'condition is false','',''),(509,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_dockwork_mobile_spooler\', \'counter\')','',549,'2018-08-28 10:51:52','\0','add dw_dockwork_mobile_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_dockwork_mobile_spooler add counter INTEGER','alter table dw_dockwork_mobile_spooler add column counter INTEGER',0,'condition is false','',''),(510,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_customer_spooler\', \'counter\')','',550,'2018-08-28 10:51:52','\0','add dw_customer_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_customer_spooler add counter INTEGER','alter table dw_customer_spooler add column counter INTEGER',0,'condition is false','',''),(511,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_spooler\', \'counter\')','',551,'2018-08-28 10:51:52','\0','add dw_terminal_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_terminal_spooler add counter INTEGER','alter table dw_terminal_spooler add column counter INTEGER',0,'condition is false','',''),(512,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_dependet_data_spooler\', \'counter\')','',552,'2018-08-28 10:51:52','\0','add dw_time_dependet_data_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_time_dependet_data_spooler add counter INTEGER','alter table dw_time_dependet_data_spooler add column counter INTEGER',0,'condition is false','',''),(513,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_from_foxpro_spooler\', \'counter\')','',553,'2018-08-28 10:51:52','\0','add dw_from_foxpro_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_from_foxpro_spooler add counter INTEGER','alter table dw_from_foxpro_spooler add column counter INTEGER',0,'condition is false','',''),(514,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_dockwork_foxpro_spooler\', \'counter\')','',554,'2018-08-28 10:51:52','\0','add dw_dockwork_foxpro_spooler.counter','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_dockwork_foxpro_spooler add counter INTEGER','alter table dw_dockwork_foxpro_spooler add column counter INTEGER',0,'condition is false','',''),(515,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_changed_access_authorisation_spooler\', \'counter\')','',556,'2018-08-28 10:51:52','\0','init dw_changed_access_authorisation_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_changed_access_authorisation_spooler set counter = 0 where counter is null','update dw_changed_access_authorisation_spooler set counter = 0 where counter is null',0,'OK','',''),(516,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_dockwork_mobile_spooler\', \'counter\')','',557,'2018-08-28 10:51:52','\0','init dw_dockwork_mobile_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_dockwork_mobile_spooler set counter = 0 where counter is null','update dw_dockwork_mobile_spooler set counter = 0 where counter is null',0,'OK','',''),(517,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_customer_spooler\', \'counter\')','',558,'2018-08-28 10:51:52','\0','init dw_customer_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_customer_spooler set counter = 0 where counter is null','update dw_customer_spooler set counter = 0 where counter is null',0,'OK','',''),(518,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_spooler\', \'counter\')','',559,'2018-08-28 10:51:52','\0','init dw_terminal_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_terminal_spooler set counter = 0 where counter is null','update dw_terminal_spooler set counter = 0 where counter is null',0,'OK','',''),(519,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_dependet_data_spooler\', \'counter\')','',560,'2018-08-28 10:51:52','\0','init dw_time_dependet_data_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_time_dependet_data_spooler set counter = 0 where counter is null','update dw_time_dependet_data_spooler set counter = 0 where counter is null',0,'OK','',''),(520,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_from_foxpro_spooler\', \'counter\')','',561,'2018-08-28 10:51:52','\0','init dw_from_foxpro_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_from_foxpro_spooler set counter = 0 where counter is null','update dw_from_foxpro_spooler set counter = 0 where counter is null',0,'OK','',''),(521,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_dockwork_foxpro_spooler\', \'counter\')','',562,'2018-08-28 10:51:52','\0','init dw_dockwork_foxpro_spooler.counter = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_dockwork_foxpro_spooler set counter = 0 where counter is null','update dw_dockwork_foxpro_spooler set counter = 0 where counter is null',0,'OK','',''),(522,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input\')','',563,'2018-08-28 10:51:52','\0','add dw_event_base_data.input','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_event_base_data add input INTEGER','alter table dw_event_base_data add column input INTEGER',0,'condition is false','',''),(523,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input_state\')','',564,'2018-08-28 10:51:52','\0','add dw_event_base_data.input_state','','2018-08-28 10:51:53','2018-08-28 10:51:53','','alter table dw_event_base_data add input_state INTEGER','alter table dw_event_base_data add column input_state INTEGER',0,'condition is false','',''),(524,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input\')','',565,'2018-08-28 10:51:52','\0','init dw_event_base_data.input = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_event_base_data set input = 0 where input is null','update dw_event_base_data set input = 0 where input is null',0,'OK','',''),(525,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input_state\')','',566,'2018-08-28 10:51:52','\0','init dw_event_base_data.input_state = 0','','2018-08-28 10:51:53','2018-08-28 10:51:53','','update dw_event_base_data set input_state = 0 where input_state is null','update dw_event_base_data set input_state = 0 where input_state is null',0,'OK','',''),(526,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'class\')','',-101,'2019-02-25 18:36:23','\0','add column systemConfiguration.class','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_system_configuration add class varchar(255) NULL','alter table dw_system_configuration add class varchar(255)',0,'condition is false','',''),(527,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_office_pincode_waiting_period\')','',568,'2019-02-25 18:36:23','\0','add column dw_terminal_chiplox.activate_office_pincode_waiting_period','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_terminal_chiplox add activate_office_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_office_pincode_waiting_period INTEGER',0,'condition is false','',''),(528,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_office_pincode_waiting_period\')','',569,'2019-02-25 18:36:23','\0','init dw_terminal_chiplox.activate_office_pincode_waiting_period = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_terminal_chiplox set activate_office_pincode_waiting_period = 0 where activate_office_pincode_waiting_period is null','update dw_terminal_chiplox set activate_office_pincode_waiting_period = 0 where activate_office_pincode_waiting_period is null',0,'OK','',''),(529,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_office_pincode_waiting_period\')','',570,'2019-02-25 18:36:23','\0','add column dw_terminal_chiplox.deactivate_office_pincode_waiting_period','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_terminal_chiplox add deactivate_office_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_office_pincode_waiting_period INTEGER',0,'condition is false','',''),(530,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_office_pincode_waiting_period\')','',571,'2019-02-25 18:36:23','\0','init dw_terminal_chiplox.deactivate_office_pincode_waiting_period = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_terminal_chiplox set deactivate_office_pincode_waiting_period = 0 where deactivate_office_pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_office_pincode_waiting_period = 0 where deactivate_office_pincode_waiting_period is null',0,'OK','',''),(531,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_open_pincode_waiting_period\')','',572,'2019-02-25 18:36:23','\0','add column dw_terminal_chiplox.activate_generally_open_pincode_waiting_period','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_terminal_chiplox add activate_generally_open_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_generally_open_pincode_waiting_period INTEGER',0,'condition is false','',''),(532,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_open_pincode_waiting_period\')','',573,'2019-02-25 18:36:23','\0','init dw_terminal_chiplox.activate_generally_open_pincode_waiting_period = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_terminal_chiplox set activate_generally_open_pincode_waiting_period = 0 where activate_generally_open_pincode_waiting_period is null','update dw_terminal_chiplox set activate_generally_open_pincode_waiting_period = 0 where activate_generally_open_pincode_waiting_period is null',0,'OK','',''),(533,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_generally_open_pincode_waiting_period\')','',574,'2019-02-25 18:36:23','\0','add column dw_terminal_chiplox.deactivate_generally_open_pincode_waiting_period','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_terminal_chiplox add deactivate_generally_open_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_generally_open_pincode_waiting_period INTEGER',0,'condition is false','',''),(534,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_generally_open_pincode_waiting_period\')','',575,'2019-02-25 18:36:23','\0','init dw_terminal_chiplox.deactivate_generally_open_pincode_waiting_period = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_terminal_chiplox set deactivate_generally_open_pincode_waiting_period = 0 where deactivate_generally_open_pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_generally_open_pincode_waiting_period = 0 where deactivate_generally_open_pincode_waiting_period is null',0,'OK','',''),(535,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'activate_by_first_access\')','',576,'2019-02-25 18:36:23','\0','add column dw_chiplox_door_day_access_schedule_2_detail.activate_by_first_access','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_chiplox_door_day_access_schedule_2_detail add activate_by_first_access BIT','alter table dw_chiplox_door_day_access_schedule_2_detail add column activate_by_first_access BIT',0,'condition is false','',''),(536,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'activate_by_first_access\')','',577,'2019-02-25 18:36:23','\0','init dw_chiplox_door_day_access_schedule_2_detail.activate_by_first_access = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_chiplox_door_day_access_schedule_2_detail set activate_by_first_access = 0 where activate_by_first_access is null','update dw_chiplox_door_day_access_schedule_2_detail set activate_by_first_access = 0 where activate_by_first_access is null',0,'OK','',''),(537,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'activate_before_first_access\')','',578,'2019-02-25 18:36:23','\0','add column dw_chiplox_door_day_access_schedule_2_detail.activate_before_first_access','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_chiplox_door_day_access_schedule_2_detail add activate_before_first_access INTEGER','alter table dw_chiplox_door_day_access_schedule_2_detail add column activate_before_first_access INTEGER',0,'condition is false','',''),(538,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'activate_before_first_access\')','',579,'2019-02-25 18:36:23','\0','init dw_chiplox_door_day_access_schedule_2_detail.activate_before_first_access = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_chiplox_door_day_access_schedule_2_detail set activate_before_first_access = 0 where activate_before_first_access is null','update dw_chiplox_door_day_access_schedule_2_detail set activate_before_first_access = 0 where activate_before_first_access is null',0,'OK','',''),(539,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'manual_activation_of_generally_open\')','',580,'2019-02-25 18:36:23','\0','add column dw_chiplox_door_day_access_schedule_2_detail.manual_activation_of_generally_open','','2019-02-25 18:36:24','2019-02-25 18:36:24','','alter table dw_chiplox_door_day_access_schedule_2_detail add manual_activation_of_generally_open BIT','alter table dw_chiplox_door_day_access_schedule_2_detail add column manual_activation_of_generally_open BIT',0,'condition is false','',''),(540,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'manual_activation_of_generally_open\')','',581,'2019-02-25 18:36:23','\0','init dw_chiplox_door_day_access_schedule_2_detail.manual_activation_of_generally_open = 0','','2019-02-25 18:36:24','2019-02-25 18:36:24','','update dw_chiplox_door_day_access_schedule_2_detail set manual_activation_of_generally_open = 0 where manual_activation_of_generally_open is null','update dw_chiplox_door_day_access_schedule_2_detail set manual_activation_of_generally_open = 0 where manual_activation_of_generally_open is null',0,'OK','',''),(541,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_day_access_schedule\', \'activate_from_first_access\')','',582,'2019-02-25 18:36:23','\0','drop dw_keyflex_door_day_access_schedule.activate_from_first_access','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_keyflex_door_day_access_schedule drop column activate_from_first_access','alter table dw_keyflex_door_day_access_schedule drop column activate_from_first_access',0,'condition is false','',''),(542,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_access_schedule\', \'activate_by_first_access\')','',583,'2019-02-25 18:36:23','\0','add column dw_keyflex_door_access_schedule.activate_by_first_access','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_keyflex_door_access_schedule add activate_by_first_access BIT','alter table dw_keyflex_door_access_schedule add column activate_by_first_access BIT',0,'condition is false','',''),(543,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_access_schedule\', \'activate_by_first_access\')','',584,'2019-02-25 18:36:23','\0','init dw_keyflex_door_access_schedule.activate_by_first_access = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_keyflex_door_access_schedule set activate_by_first_access = 0 where activate_by_first_access is null','update dw_keyflex_door_access_schedule set activate_by_first_access = 0 where activate_by_first_access is null',0,'OK','',''),(544,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_access_schedule\', \'activate_before_first_access\')','',585,'2019-02-25 18:36:23','\0','add column dw_keyflex_door_access_schedule.activate_before_first_access','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_keyflex_door_access_schedule add activate_before_first_access INTEGER','alter table dw_keyflex_door_access_schedule add column activate_before_first_access INTEGER',0,'condition is false','',''),(545,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_access_schedule\', \'activate_before_first_access\')','',586,'2019-02-25 18:36:23','\0','init dw_keyflex_door_access_schedule.activate_before_first_access = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_keyflex_door_access_schedule set activate_before_first_access = 0 where activate_before_first_access is null','update dw_keyflex_door_access_schedule set activate_before_first_access = 0 where activate_before_first_access is null',0,'OK','',''),(546,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_alarmsystem_pincode_waiting_period\')','',587,'2019-02-25 18:36:23','\0','add column dw_terminal_chiplox.activate_alarmsystem_pincode_waiting_period','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_terminal_chiplox add activate_alarmsystem_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_alarmsystem_pincode_waiting_period INTEGER',0,'condition is false','',''),(547,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_alarmsystem_pincode_waiting_period\')','',588,'2019-02-25 18:36:23','\0','init dw_terminal_chiplox.activate_alarmsystem_pincode_waiting_period = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_terminal_chiplox set activate_alarmsystem_pincode_waiting_period = 0 where activate_alarmsystem_pincode_waiting_period is null','update dw_terminal_chiplox set activate_alarmsystem_pincode_waiting_period = 0 where activate_alarmsystem_pincode_waiting_period is null',0,'OK','',''),(548,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_alarmsystem_pincode_waiting_period\')','',589,'2019-02-25 18:36:23','\0','add column dw_terminal_chiplox.deactivate_alarmsystem_pincode_waiting_period','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_terminal_chiplox add deactivate_alarmsystem_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_alarmsystem_pincode_waiting_period INTEGER',0,'condition is false','',''),(549,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_alarmsystem_pincode_waiting_period\')','',590,'2019-02-25 18:36:23','\0','init dw_terminal_chiplox.deactivate_alarmsystem_pincode_waiting_period = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_terminal_chiplox set deactivate_alarmsystem_pincode_waiting_period = 0 where deactivate_alarmsystem_pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_alarmsystem_pincode_waiting_period = 0 where deactivate_alarmsystem_pincode_waiting_period is null',0,'OK','',''),(550,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_office\')','',591,'2019-02-25 18:36:23','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_office','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_office BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_office BIT',0,'condition is false','',''),(551,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_office\')','',592,'2019-02-25 18:36:23','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_office = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set activate_office = 0 where activate_office is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_office = 0 where activate_office is null',0,'OK','',''),(552,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'start_office\')','',593,'2019-02-25 18:36:23','\0','drop dw_chiplox_person_day_access_schedule_2_detail.start_office','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail drop column start_office','alter table dw_chiplox_person_day_access_schedule_2_detail drop column start_office',0,'OK','',''),(553,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_office\')','',594,'2019-02-25 18:36:23','\0','add column dw_chiplox_person_day_access_schedule_2_detail.deactivate_office','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add deactivate_office BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column deactivate_office BIT',0,'condition is false','',''),(554,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_office\')','',595,'2019-02-25 18:36:23','\0','init dw_chiplox_person_day_access_schedule_2_detail.deactivate_office = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_office = 0 where deactivate_office is null','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_office = 0 where deactivate_office is null',0,'OK','',''),(555,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'stop_office\')','',596,'2019-02-25 18:36:23','\0','drop dw_chiplox_person_day_access_schedule_2_detail.stop_office','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail drop column stop_office','alter table dw_chiplox_person_day_access_schedule_2_detail drop column stop_office',0,'OK','',''),(556,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_generally_open\')','',597,'2019-02-25 18:36:23','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_generally_open','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_generally_open BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_generally_open BIT',0,'condition is false','',''),(557,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_generally_open\')','',598,'2019-02-25 18:36:23','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_generally_open = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set activate_generally_open = 0 where activate_generally_open is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_generally_open = 0 where activate_generally_open is null',0,'OK','',''),(558,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'start_generally_open\')','',599,'2019-02-25 18:36:23','\0','drop dw_chiplox_person_day_access_schedule_2_detail.start_generally_open','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail drop column start_generally_open','alter table dw_chiplox_person_day_access_schedule_2_detail drop column start_generally_open',0,'OK','',''),(559,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_generally_open\')','',600,'2019-02-25 18:36:23','\0','add column dw_chiplox_person_day_access_schedule_2_detail.deactivate_generally_open','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add deactivate_generally_open BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column deactivate_generally_open BIT',0,'condition is false','',''),(560,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_generally_open\')','',601,'2019-02-25 18:36:23','\0','init dw_chiplox_person_day_access_schedule_2_detail.deactivate_generally_open = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_generally_open = 0 where deactivate_generally_open is null','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_generally_open = 0 where deactivate_generally_open is null',0,'OK','',''),(561,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'stop_generally_open\')','',602,'2019-02-25 18:36:24','\0','drop dw_chiplox_person_day_access_schedule_2_detail.stop_generally_open','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail drop column stop_generally_open','alter table dw_chiplox_person_day_access_schedule_2_detail drop column stop_generally_open',0,'OK','',''),(562,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_alarmsystem\')','',603,'2019-02-25 18:36:24','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_alarmsystem','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_alarmsystem BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_alarmsystem BIT',0,'condition is false','',''),(563,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_alarmsystem\')','',604,'2019-02-25 18:36:24','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_alarmsystem = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set activate_alarmsystem = 0 where activate_alarmsystem is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_alarmsystem = 0 where activate_alarmsystem is null',0,'OK','',''),(564,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'start_alarmsystem\')','',605,'2019-02-25 18:36:24','\0','drop dw_chiplox_person_day_access_schedule_2_detail.start_alarmsystem','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail drop column start_alarmsystem','alter table dw_chiplox_person_day_access_schedule_2_detail drop column start_alarmsystem',0,'condition is false','',''),(565,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_alarmsystem\')','',606,'2019-02-25 18:36:24','\0','add column dw_chiplox_person_day_access_schedule_2_detail.deactivate_alarmsystem','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add deactivate_alarmsystem BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column deactivate_alarmsystem BIT',0,'condition is false','',''),(566,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_alarmsystem\')','',607,'2019-02-25 18:36:24','\0','init dw_chiplox_person_day_access_schedule_2_detail.deactivate_alarmsystem = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_alarmsystem = 0 where deactivate_alarmsystem is null','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_alarmsystem = 0 where deactivate_alarmsystem is null',0,'OK','',''),(567,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'stop_alarmsystem\')','',608,'2019-02-25 18:36:24','\0','drop dw_chiplox_person_day_access_schedule_2_detail.stop_alarmsystem','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail drop column stop_alarmsystem','alter table dw_chiplox_person_day_access_schedule_2_detail drop column stop_alarmsystem',0,'condition is false','',''),(568,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_office_with_end_pincode_waiting_period\')','',609,'2019-02-25 18:36:24','\0','add column dw_terminal_chiplox.activate_office_with_end_pincode_waiting_period','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_terminal_chiplox add activate_office_with_end_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_office_with_end_pincode_waiting_period INTEGER',0,'condition is false','',''),(569,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_office_with_end_pincode_waiting_period\')','',610,'2019-02-25 18:36:24','\0','init dw_terminal_chiplox.activate_office_with_end_pincode_waiting_period = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_terminal_chiplox set activate_office_with_end_pincode_waiting_period = 0 where activate_office_with_end_pincode_waiting_period is null','update dw_terminal_chiplox set activate_office_with_end_pincode_waiting_period = 0 where activate_office_with_end_pincode_waiting_period is null',0,'OK','',''),(570,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_office_with_end\')','',611,'2019-02-25 18:36:24','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_office_with_end','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_office_with_end BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_office_with_end BIT',0,'condition is false','',''),(571,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_office_with_end\')','',612,'2019-02-25 18:36:24','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_office_with_end = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set activate_office_with_end = 0 where activate_office_with_end is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_office_with_end = 0 where activate_office_with_end is null',0,'OK','',''),(572,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_office_time\')','',613,'2019-02-25 18:36:24','\0','add column dw_chiplox_person_day_access_schedule_2_detail.end_of_office_time','','2019-02-25 18:36:25','2019-02-25 18:36:25','','alter table dw_chiplox_person_day_access_schedule_2_detail add end_of_office_time INTEGER','alter table dw_chiplox_person_day_access_schedule_2_detail add column end_of_office_time INTEGER',0,'condition is false','',''),(573,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_office_time\')','',614,'2019-02-25 18:36:24','\0','init dw_chiplox_person_day_access_schedule_2_detail.end_of_office_time = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_chiplox_person_day_access_schedule_2_detail set end_of_office_time = 0 where end_of_office_time is null','update dw_chiplox_person_day_access_schedule_2_detail set end_of_office_time = 0 where end_of_office_time is null',0,'OK','',''),(574,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_gantner\', \'number_of_persons\')','',616,'2019-02-25 18:36:24','\0','init dw_terminal_gantner.number_of_persons = 0','','2019-02-25 18:36:25','2019-02-25 18:36:25','','update dw_terminal_gantner set number_of_persons = 0 where number_of_persons is null','update dw_terminal_gantner set number_of_persons = 0 where number_of_persons is null',0,'OK','',''),(575,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_door_day_access_schedule_2_detail\', \'active_from_first_access\')','',617,'2019-02-25 18:36:24','\0','drop dw_chiplox_door_day_access_schedule_2_detail.active_from_first_access','','2019-02-25 18:36:26','2019-02-25 18:36:26','','alter table dw_chiplox_door_day_access_schedule_2_detail drop column active_from_first_access','alter table dw_chiplox_door_day_access_schedule_2_detail drop column active_from_first_access',0,'OK','',''),(576,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'snr\')','',618,'2019-02-25 18:36:24','\0','alter table dw_terminal alter column snr VARCHAR(255)','','2019-02-25 18:36:26','2019-02-25 18:36:26','','alter table dw_terminal alter column snr VARCHAR(255)','alter table dw_terminal modify column snr VARCHAR(255)',0,'OK','',''),(577,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_project\')','',619,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_project = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_project = 0 where create_project is null','update dw_booking_code_2_detail set create_project = 0 where create_project is null',0,'OK','',''),(578,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_order\')','',620,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_order = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_order = 0 where create_order is null','update dw_booking_code_2_detail set create_order = 0 where create_order is null',0,'OK','',''),(579,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_order_item\')','',621,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_order_item = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_order_item = 0 where create_order_item is null','update dw_booking_code_2_detail set create_order_item = 0 where create_order_item is null',0,'OK','',''),(580,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_cost_unit\')','',622,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_cost_unit = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_cost_unit = 0 where create_cost_unit is null','update dw_booking_code_2_detail set create_cost_unit = 0 where create_cost_unit is null',0,'OK','',''),(581,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_machine\')','',623,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_machine = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_machine = 0 where create_machine is null','update dw_booking_code_2_detail set create_machine = 0 where create_machine is null',0,'OK','',''),(582,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_workplace\')','',624,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_workplace = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_workplace = 0 where create_workplace is null','update dw_booking_code_2_detail set create_workplace = 0 where create_workplace is null',0,'OK','',''),(583,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'create_workprocess\')','',625,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.create_workprocess = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set create_workprocess = 0 where create_workprocess is null','update dw_booking_code_2_detail set create_workprocess = 0 where create_workprocess is null',0,'OK','',''),(584,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_absence\')','',626,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_absence = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_absence = 1 where use_absence is null','update dw_booking_code_2_detail set use_absence = 1 where use_absence is null',0,'OK','',''),(585,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_project\')','',627,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_project = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_project = 0 where use_project is null','update dw_booking_code_2_detail set use_project = 0 where use_project is null',0,'OK','',''),(586,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_order\')','',628,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_order = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_order = 0 where use_order is null','update dw_booking_code_2_detail set use_order = 0 where use_order is null',0,'OK','',''),(587,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_order_item\')','',629,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_order_item = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_order_item = 0 where use_order_item is null','update dw_booking_code_2_detail set use_order_item = 0 where use_order_item is null',0,'OK','',''),(588,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_cost_unit\')','',630,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_cost_unit = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_cost_unit = 0 where use_cost_unit is null','update dw_booking_code_2_detail set use_cost_unit = 0 where use_cost_unit is null',0,'OK','',''),(589,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_machine\')','',631,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_machine = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_machine = 0 where use_machine is null','update dw_booking_code_2_detail set use_machine = 0 where use_machine is null',0,'OK','',''),(590,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_workplace\')','',632,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_workplace = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_workplace = 0 where use_workplace is null','update dw_booking_code_2_detail set use_workplace = 0 where use_workplace is null',0,'OK','',''),(591,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'use_workprocess\')','',633,'2019-02-25 18:36:24','\0','init dw_booking_code_2_detail.use_workprocess = 0','','2019-02-25 18:36:26','2019-02-25 18:36:26','','update dw_booking_code_2_detail set use_workprocess = 0 where use_workprocess is null','update dw_booking_code_2_detail set use_workprocess = 0 where use_workprocess is null',0,'OK','',''),(592,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_keyflex_door_day_access_schedule\', \'active_from_first_access\')','',634,'2019-02-25 18:36:24','\0','drop dw_keyflex_door_day_access_schedule.active_from_first_access','','2019-02-25 18:36:26','2019-02-25 18:36:26','','alter table dw_keyflex_door_day_access_schedule drop column active_from_first_access','alter table dw_keyflex_door_day_access_schedule drop column active_from_first_access',0,'condition is false','',''),(593,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_tmc\', \'identification_format_enum\')','',635,'2019-05-22 11:16:48','\0','init dw_terminal_tmc.identification_format_enum = \'DECIMAL\'','','2019-05-22 11:16:48','2019-05-22 11:16:48','','update dw_terminal_tmc set identification_format_enum = \'DECIMAL\' where identification_format_enum is null','update dw_terminal_tmc set identification_format_enum = \'DECIMAL\' where identification_format_enum is null',0,'OK','',''),(594,1,'','',636,'2019-05-22 11:16:48','\0','clean systemConfiguration','','2019-05-22 11:16:48','2019-05-22 11:16:48','','','',0,'OK','','import at.dockwork.system.service.SystemConfigurationService\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	def systemConfigurationService = Holders.grailsApplication.mainContext.getBean \'systemConfigurationService\'\n\n	def run(def connection, def dataSourceFields) {\n\n		systemConfigurationService.deleteByCwID(1502)\n\n		true\n	}\n}'),(595,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_time_time_model\', \'only_person2time_time_model2time_planning\')','',637,'2019-05-22 11:16:48','\0','add column dw_person_2_time_time_model.only_person2time_time_model2time_planning','','2019-05-22 11:16:48','2019-05-22 11:16:48','','alter table dw_person_2_time_time_model add only_person2time_time_model2time_planning BIT','alter table dw_person_2_time_time_model add column only_person2time_time_model2time_planning BIT',0,'condition is false','',''),(596,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_time_time_model\', \'only_person2time_time_model2time_planning\')','',638,'2019-05-22 11:16:48','\0','init dw_person_2_time_time_model.only_person2time_time_model2time_planning = 0','','2019-05-22 11:16:48','2019-05-22 11:16:48','','update dw_person_2_time_time_model set only_person2time_time_model2time_planning = 0 where only_person2time_time_model2time_planning is null','update dw_person_2_time_time_model set only_person2time_time_model2time_planning = 0 where only_person2time_time_model2time_planning is null',0,'OK','',''),(597,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_period\', \'generated\')','',639,'2019-05-22 11:16:48','\0','init dw_work_period.generated = 0','','2019-05-22 11:16:48','2019-05-22 11:16:48','','update dw_work_period set generated = 0 where generated is null','update dw_work_period set generated = 0 where generated is null',0,'OK','',''),(598,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_time_manual\', \'generated\')','',640,'2019-05-22 11:16:48','\0','init dw_work_time_manual.generated = 0','','2019-05-22 11:16:48','2019-05-22 11:16:48','','update dw_work_time_manual set generated = 0 where generated is null','update dw_work_time_manual set generated = 0 where generated is null',0,'OK','',''),(599,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'present_at_work\')','',641,'2019-05-22 11:16:48','\0','add column dw_absence.present_at_work','','2019-05-22 11:16:48','2019-05-22 11:16:48','','alter table dw_absence add present_at_work BIT','alter table dw_absence add column present_at_work BIT',0,'condition is false','',''),(600,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'present_at_work\')','',642,'2019-05-22 11:16:48','\0','init dw_absence.present_at_work = 0','','2019-05-22 11:16:48','2019-05-22 11:16:48','','update dw_absence set present_at_work = 0 where present_at_work is null','update dw_absence set present_at_work = 0 where present_at_work is null',0,'OK','',''),(601,2,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_initial\', \'date_created\')','',643,'2019-06-10 23:55:01','\0','init dw_time_time_type_data_initial.date_created','','2019-06-10 23:55:02','2020-02-04 10:54:25','','update dw_time_time_type_data_initial set date_created = \'2019-01-01\', last_updated = \'2019-01-01\' where date_created is null or last_updated is null','update dw_time_time_type_data_initial set date_created = \'2019-01-01\', last_updated = \'2019-01-01\' where date_created = \'0000-00-00\' or last_updated = \'0000-00-00\'',0,'OK','',''),(602,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_2_identification_type\', \'type_value\')','',644,'2019-06-10 23:55:01','\0','add column dw_terminal_2_identification_type.type_value','','2019-06-10 23:55:02','2019-06-10 23:55:02','','alter table dw_terminal_2_identification_type add type_value varchar(255) NULL','alter table dw_terminal_2_identification_type add type_value varchar(255)',0,'condition is false','',''),(603,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_2_identification_type\', \'type_value\')','',645,'2019-06-10 23:55:01','\0','init dw_terminal_2_identification_type.type_value = \'\'','','2019-06-10 23:55:02','2019-06-10 23:55:02','','update dw_terminal_2_identification_type set type_value = \'\' where type_value is null','update dw_terminal_2_identification_type set type_value = \'\' where type_value is null',0,'OK','',''),(604,2,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'credit\')','',646,'2019-06-10 23:55:01','\0','add column dw_time_time_type.credit','','2019-06-10 23:55:02','2021-04-02 17:53:57','','alter table dw_time_time_type add credit FLOAT(53)','alter table dw_time_time_type add column credit DOUBLE',0,'condition is false','',''),(605,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'credit\')','',647,'2019-06-10 23:55:01','\0','init dw_time_time_type.credit = 0','','2019-06-10 23:55:02','2019-06-10 23:55:02','','update dw_time_time_type set credit = 0 where credit is null','update dw_time_time_type set credit = 0 where credit is null',0,'OK','',''),(606,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'no_minus_time\')','',648,'2019-06-10 23:55:01','\0','add column dw_time_time_type.no_minus_time','','2019-06-10 23:55:02','2019-06-10 23:55:02','','alter table dw_time_time_type add no_minus_time BIT','alter table dw_time_time_type add column no_minus_time BIT',0,'condition is false','',''),(607,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type\', \'no_minus_time\')','',649,'2019-06-10 23:55:01','\0','init dw_time_time_type.no_minus_time = 0','','2019-06-10 23:55:02','2019-06-10 23:55:02','','update dw_time_time_type set no_minus_time = 0 where no_minus_time is null','update dw_time_time_type set no_minus_time = 0 where no_minus_time is null',0,'OK','',''),(608,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function1pincode_waiting_period\')','',650,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_function1pincode_waiting_period','','2020-02-04 10:54:26','2020-02-04 10:54:26','','alter table dw_terminal_chiplox add activate_function1pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_function1pincode_waiting_period INTEGER',0,'condition is false','',''),(609,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function1pincode_waiting_period\')','',651,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_function1pincode_waiting_period = 0','','2020-02-04 10:54:26','2020-02-04 10:54:26','','update dw_terminal_chiplox set activate_function1pincode_waiting_period = 0 where activate_function1pincode_waiting_period is null','update dw_terminal_chiplox set activate_function1pincode_waiting_period = 0 where activate_function1pincode_waiting_period is null',0,'OK','',''),(610,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function1pincode_time\')','',652,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_function1pincode_time','','2020-02-04 10:54:26','2020-02-04 10:54:26','','alter table dw_terminal_chiplox add activate_function1pincode_time INTEGER','alter table dw_terminal_chiplox add column activate_function1pincode_time INTEGER',0,'condition is false','',''),(611,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function1pincode_time\')','',653,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_function1pincode_time = 0','','2020-02-04 10:54:26','2020-02-04 10:54:26','','update dw_terminal_chiplox set activate_function1pincode_time = 0 where activate_function1pincode_time is null','update dw_terminal_chiplox set activate_function1pincode_time = 0 where activate_function1pincode_time is null',0,'OK','',''),(612,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function1with_end_pincode_waiting_period\')','',654,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_function1with_end_pincode_waiting_period','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_terminal_chiplox add activate_function1with_end_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_function1with_end_pincode_waiting_period INTEGER',0,'condition is false','',''),(613,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function1with_end_pincode_waiting_period\')','',655,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_function1with_end_pincode_waiting_period = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_chiplox set activate_function1with_end_pincode_waiting_period = 0 where activate_function1with_end_pincode_waiting_period is null','update dw_terminal_chiplox set activate_function1with_end_pincode_waiting_period = 0 where activate_function1with_end_pincode_waiting_period is null',0,'OK','',''),(614,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_function1pincode_waiting_period\')','',656,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.deactivate_function1pincode_waiting_period','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_terminal_chiplox add deactivate_function1pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_function1pincode_waiting_period INTEGER',0,'condition is false','',''),(615,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_function1pincode_waiting_period\')','',657,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.deactivate_function1pincode_waiting_period = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_chiplox set deactivate_function1pincode_waiting_period = 0 where deactivate_function1pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_function1pincode_waiting_period = 0 where deactivate_function1pincode_waiting_period is null',0,'OK','',''),(616,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function2pincode_waiting_period\')','',658,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_function2pincode_waiting_period','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_terminal_chiplox add activate_function2pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_function2pincode_waiting_period INTEGER',0,'condition is false','',''),(617,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function2pincode_waiting_period\')','',659,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_function2pincode_waiting_period = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_chiplox set activate_function2pincode_waiting_period = 0 where activate_function2pincode_waiting_period is null','update dw_terminal_chiplox set activate_function2pincode_waiting_period = 0 where activate_function2pincode_waiting_period is null',0,'OK','',''),(618,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function2pincode_time\')','',660,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_function2pincode_time','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_terminal_chiplox add activate_function2pincode_time INTEGER','alter table dw_terminal_chiplox add column activate_function2pincode_time INTEGER',0,'condition is false','',''),(619,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function2pincode_time\')','',661,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_function2pincode_time = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_chiplox set activate_function2pincode_time = 0 where activate_function2pincode_time is null','update dw_terminal_chiplox set activate_function2pincode_time = 0 where activate_function2pincode_time is null',0,'OK','',''),(620,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function2with_end_pincode_waiting_period\')','',662,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_function2with_end_pincode_waiting_period','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_terminal_chiplox add activate_function2with_end_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_function2with_end_pincode_waiting_period INTEGER',0,'condition is false','',''),(621,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_function2with_end_pincode_waiting_period\')','',663,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_function2with_end_pincode_waiting_period = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_chiplox set activate_function2with_end_pincode_waiting_period = 0 where activate_function2with_end_pincode_waiting_period is null','update dw_terminal_chiplox set activate_function2with_end_pincode_waiting_period = 0 where activate_function2with_end_pincode_waiting_period is null',0,'OK','',''),(622,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_function2pincode_waiting_period\')','',664,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.deactivate_function2pincode_waiting_period','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_terminal_chiplox add deactivate_function2pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_function2pincode_waiting_period INTEGER',0,'condition is false','',''),(623,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_function2pincode_waiting_period\')','',665,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.deactivate_function2pincode_waiting_period = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_chiplox set deactivate_function2pincode_waiting_period = 0 where deactivate_function2pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_function2pincode_waiting_period = 0 where deactivate_function2pincode_waiting_period is null',0,'OK','',''),(624,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function1\')','',666,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_function1','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_function1 BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_function1 BIT',0,'condition is false','',''),(625,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function1\')','',667,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_function1 = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set activate_function1 = 0 where activate_function1 is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_function1 = 0 where activate_function1 is null',0,'OK','',''),(626,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function1with_end\')','',668,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_function1with_end','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_function1with_end BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_function1with_end BIT',0,'condition is false','',''),(627,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function1with_end\')','',669,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_function1with_end = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set activate_function1with_end = 0 where activate_function1with_end is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_function1with_end = 0 where activate_function1with_end is null',0,'OK','',''),(628,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_function1time\')','',670,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.end_of_function1time','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add end_of_function1time INTEGER','alter table dw_chiplox_person_day_access_schedule_2_detail add column end_of_function1time INTEGER',0,'condition is false','',''),(629,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_function1time\')','',671,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.end_of_function1time = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set end_of_function1time = 0 where end_of_function1time is null','update dw_chiplox_person_day_access_schedule_2_detail set end_of_function1time = 0 where end_of_function1time is null',0,'OK','',''),(630,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_function1\')','',672,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.deactivate_function1','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add deactivate_function1 BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column deactivate_function1 BIT',0,'condition is false','',''),(631,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_function1\')','',673,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.deactivate_function1 = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_function1 = 0 where deactivate_function1 is null','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_function1 = 0 where deactivate_function1 is null',0,'OK','',''),(632,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function2\')','',674,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_function2','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_function2 BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_function2 BIT',0,'condition is false','',''),(633,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function2\')','',675,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_function2 = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set activate_function2 = 0 where activate_function2 is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_function2 = 0 where activate_function2 is null',0,'OK','',''),(634,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function2with_end\')','',676,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_function2with_end','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_function2with_end BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_function2with_end BIT',0,'condition is false','',''),(635,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_function2with_end\')','',677,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_function2with_end = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set activate_function2with_end = 0 where activate_function2with_end is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_function2with_end = 0 where activate_function2with_end is null',0,'OK','',''),(636,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_function2time\')','',678,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.end_of_function2time','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add end_of_function2time INTEGER','alter table dw_chiplox_person_day_access_schedule_2_detail add column end_of_function2time INTEGER',0,'condition is false','',''),(637,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_function2time\')','',679,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.end_of_function2time = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set end_of_function2time = 0 where end_of_function2time is null','update dw_chiplox_person_day_access_schedule_2_detail set end_of_function2time = 0 where end_of_function2time is null',0,'OK','',''),(638,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_function2\')','',680,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.deactivate_function2','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_chiplox_person_day_access_schedule_2_detail add deactivate_function2 BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column deactivate_function2 BIT',0,'condition is false','',''),(639,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_function2\')','',681,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.deactivate_function2 = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_function2 = 0 where deactivate_function2 is null','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_function2 = 0 where deactivate_function2 is null',0,'OK','',''),(640,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal\', \'snr\')','',682,'2020-02-04 10:54:26','\0','init dw_terminal.snr = \'\'','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal set snr = \'\' where snr is null','update dw_terminal set snr = \'\' where snr is null',0,'OK','',''),(641,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'counter\')','',683,'2020-02-04 10:54:26','\0','add column dw_event_base_data.counter','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_event_base_data add counter INTEGER','alter table dw_event_base_data add column counter INTEGER',0,'condition is false','',''),(642,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'counter\')','',684,'2020-02-04 10:54:26','\0','init dw_event_base_data.counter = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_event_base_data set counter = 0 where counter is null','update dw_event_base_data set counter = 0 where counter is null',0,'OK','',''),(643,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'part_time\')','',685,'2020-02-04 10:54:26','\0','add column dw_time_time_plan.part_time','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_time_time_plan add part_time BIT','alter table dw_time_time_plan add column part_time BIT',0,'condition is false','',''),(644,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_plan\', \'part_time\')','',686,'2020-02-04 10:54:26','\0','init dw_time_time_plan.part_time = 0','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_time_time_plan set part_time = 0 where part_time is null','update dw_time_time_plan set part_time = 0 where part_time is null',0,'OK','',''),(645,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_system_configuration\', \'deleted\')','',-2,'2020-02-04 10:54:26','\0','init dw_system_configuration.deleted = 0','','2020-02-04 10:54:26','2020-02-04 10:54:26','','update dw_system_configuration set deleted = 0 where deleted is null','update dw_system_configuration set deleted = 0 where deleted is null',0,'OK','',''),(646,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_access_schedule_mapping\', \'person_access_schedule_id\')','',688,'2020-02-04 10:54:26','\0','drop dw_person_access_schedule_mapping.person_access_schedule_id','','2020-02-04 10:54:27','2020-02-04 10:54:27','','alter table dw_person_access_schedule_mapping drop column person_access_schedule_id','alter table dw_person_access_schedule_mapping drop column person_access_schedule_id',0,'OK','',''),(647,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'max_access_schedules\')','',689,'2020-02-04 10:54:26','\0','init dw_terminal_key_flex.max_access_schedules = 20','','2020-02-04 10:54:27','2020-02-04 10:54:27','','update dw_terminal_key_flex set max_access_schedules = 20 where max_access_schedules is null','update dw_terminal_key_flex set max_access_schedules = 20 where max_access_schedules is null',0,'OK','',''),(648,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'max_times_per_access_schedule\')','',690,'2020-02-04 10:54:26','\0','init dw_terminal_key_flex.max_times_per_access_schedule = 25','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_terminal_key_flex set max_times_per_access_schedule = 25 where max_times_per_access_schedule is null','update dw_terminal_key_flex set max_times_per_access_schedule = 25 where max_times_per_access_schedule is null',0,'OK','',''),(649,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_key_flex\', \'max_public_holidays\')','',691,'2020-02-04 10:54:26','\0','init dw_terminal_key_flex.max_public_holidays = 50','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_terminal_key_flex set max_public_holidays = 50 where max_public_holidays is null','update dw_terminal_key_flex set max_public_holidays = 50 where max_public_holidays is null',0,'OK','',''),(650,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_generally_close\')','',692,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_generally_close','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_generally_close BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_generally_close BIT',0,'condition is false','',''),(651,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_generally_close\')','',693,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_generally_close = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_chiplox_person_day_access_schedule_2_detail set activate_generally_close = 0 where activate_generally_close is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_generally_close = 0 where activate_generally_close is null',0,'OK','',''),(652,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_generally_close_with_end\')','',694,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.activate_generally_close_with_end','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_chiplox_person_day_access_schedule_2_detail add activate_generally_close_with_end BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column activate_generally_close_with_end BIT',0,'condition is false','',''),(653,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'activate_generally_close_with_end\')','',695,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.activate_generally_close_with_end = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_chiplox_person_day_access_schedule_2_detail set activate_generally_close_with_end = 0 where activate_generally_close_with_end is null','update dw_chiplox_person_day_access_schedule_2_detail set activate_generally_close_with_end = 0 where activate_generally_close_with_end is null',0,'OK','',''),(654,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_generally_close_time\')','',696,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.end_of_generally_close_time','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_chiplox_person_day_access_schedule_2_detail add end_of_generally_close_time INTEGER','alter table dw_chiplox_person_day_access_schedule_2_detail add column end_of_generally_close_time INTEGER',0,'condition is false','',''),(655,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'end_of_generally_close_time\')','',697,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.end_of_generally_close_time = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_chiplox_person_day_access_schedule_2_detail set end_of_generally_close_time = 0 where end_of_generally_close_time is null','update dw_chiplox_person_day_access_schedule_2_detail set end_of_generally_close_time = 0 where end_of_generally_close_time is null',0,'OK','',''),(656,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_generally_close\')','',698,'2020-02-04 10:54:26','\0','add column dw_chiplox_person_day_access_schedule_2_detail.deactivate_generally_close','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_chiplox_person_day_access_schedule_2_detail add deactivate_generally_close BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column deactivate_generally_close BIT',0,'condition is false','',''),(657,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'deactivate_generally_close\')','',699,'2020-02-04 10:54:26','\0','init dw_chiplox_person_day_access_schedule_2_detail.deactivate_generally_close = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_generally_close = 0 where deactivate_generally_close is null','update dw_chiplox_person_day_access_schedule_2_detail set deactivate_generally_close = 0 where deactivate_generally_close is null',0,'OK','',''),(658,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_close_pincode_waiting_period\')','',700,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_generally_close_pincode_waiting_period','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_terminal_chiplox add activate_generally_close_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_generally_close_pincode_waiting_period INTEGER',0,'condition is false','',''),(659,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_close_pincode_waiting_period\')','',701,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_generally_close_pincode_waiting_period = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_terminal_chiplox set activate_generally_close_pincode_waiting_period = 0 where activate_generally_close_pincode_waiting_period is null','update dw_terminal_chiplox set activate_generally_close_pincode_waiting_period = 0 where activate_generally_close_pincode_waiting_period is null',0,'OK','',''),(660,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_close_with_end_pincode_waiting_period\')','',702,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.activate_generally_close_with_end_pincode_waiting_period','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_terminal_chiplox add activate_generally_close_with_end_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_generally_close_with_end_pincode_waiting_period INTEGER',0,'condition is false','',''),(661,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_close_with_end_pincode_waiting_period\')','',703,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.activate_generally_close_with_end_pincode_waiting_period = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_terminal_chiplox set activate_generally_close_with_end_pincode_waiting_period = 0 where activate_generally_close_with_end_pincode_waiting_period is null','update dw_terminal_chiplox set activate_generally_close_with_end_pincode_waiting_period = 0 where activate_generally_close_with_end_pincode_waiting_period is null',0,'OK','',''),(662,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_generally_close_pincode_waiting_period\')','',704,'2020-02-04 10:54:26','\0','add column dw_terminal_chiplox.deactivate_generally_close_pincode_waiting_period','','2020-02-04 10:54:28','2020-02-04 10:54:28','','alter table dw_terminal_chiplox add deactivate_generally_close_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_generally_close_pincode_waiting_period INTEGER',0,'condition is false','',''),(663,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_generally_close_pincode_waiting_period\')','',705,'2020-02-04 10:54:26','\0','init dw_terminal_chiplox.deactivate_generally_close_pincode_waiting_period = 0','','2020-02-04 10:54:28','2020-02-04 10:54:28','','update dw_terminal_chiplox set deactivate_generally_close_pincode_waiting_period = 0 where deactivate_generally_close_pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_generally_close_pincode_waiting_period = 0 where deactivate_generally_close_pincode_waiting_period is null',0,'OK','',''),(664,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input\')','',706,'2020-02-26 05:04:06','\0','add column dw_event_base_data.input','','2020-02-26 05:04:06','2020-02-26 05:04:06','','alter table dw_event_base_data add input INTEGER','alter table dw_event_base_data add column input INTEGER',0,'condition is false','',''),(665,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input\')','',707,'2020-02-26 05:04:06','\0','init dw_event_base_data.input = 0','','2020-02-26 05:04:06','2020-02-26 05:04:06','','update dw_event_base_data set input = 0 where input is null','update dw_event_base_data set input = 0 where input is null',0,'OK','',''),(666,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input_state\')','',708,'2020-02-26 05:04:06','\0','add column dw_event_base_data.input_state','','2020-02-26 05:04:06','2020-02-26 05:04:06','','alter table dw_event_base_data add input_state INTEGER','alter table dw_event_base_data add column input_state INTEGER',0,'condition is false','',''),(667,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_event_base_data\', \'input_state\')','',709,'2020-02-26 05:04:06','\0','init dw_event_base_data.input_state = 0','','2020-02-26 05:04:06','2020-02-26 05:04:06','','update dw_event_base_data set input_state = 0 where input_state is null','update dw_event_base_data set input_state = 0 where input_state is null',0,'OK','',''),(668,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'value_like_pause\')','',710,'2020-02-26 05:04:06','\0','add column dw_absence.dw_absence.value_like_pause','','2020-02-26 05:04:06','2020-02-26 05:04:06','','alter table dw_absence add value_like_pause BIT','alter table dw_absence add column value_like_pause BIT',0,'condition is false','',''),(669,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_absence\', \'value_like_pause\')','',711,'2020-02-26 05:04:06','\0','init dw_absence.value_like_pause = false','','2020-02-26 05:04:06','2020-02-26 05:04:06','','update dw_absence set value_like_pause = 0 where value_like_pause is null','update dw_absence set value_like_pause = false where value_like_pause is null',0,'OK','',''),(670,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',712,'2020-07-24 19:02:35','\0','change createDirectTimeBooking to createDirectTimeBookingWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectTimeBookingWithoutWorkflow\', description_de = \'createDirectTimeBookingWithoutWorkflow\' where cwid = 115','update dw_operator_role set name = \'createDirectTimeBookingWithoutWorkflow\', description_de = \'createDirectTimeBookingWithoutWorkflow\' where cwid = 115',0,'OK','',''),(671,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',713,'2020-07-24 19:02:35','\0','change createDirectWorkBooking to createDirectWorkBookingWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectWorkBookingWithoutWorkflow\', description_de = \'createDirectWorkBookingWithoutWorkflow\' where cwid = 117','update dw_operator_role set name = \'createDirectWorkBookingWithoutWorkflow\', description_de = \'createDirectWorkBookingWithoutWorkflow\' where cwid = 117',0,'OK','',''),(672,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',714,'2020-07-24 19:02:35','\0','change createDirectMobileTimeBooking to createDirectMobileTimeBookingWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectMobileTimeBookingWithoutWorkflow\', description_de = \'createDirectMobileTimeBookingWithoutWorkflow\' where cwid = 1301','update dw_operator_role set name = \'createDirectMobileTimeBookingWithoutWorkflow\', description_de = \'createDirectMobileTimeBookingWithoutWorkflow\' where cwid = 1301',0,'OK','',''),(673,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',715,'2020-07-24 19:02:35','\0','change createDirectMobileWorkBooking to createDirectMobileWorkBookingWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectMobileWorkBookingWithoutWorkflow\', description_de = \'createDirectMobileWorkBookingWithoutWorkflow\' where cwid = 1302','update dw_operator_role set name = \'createDirectMobileWorkBookingWithoutWorkflow\', description_de = \'createDirectMobileWorkBookingWithoutWorkflow\' where cwid = 1302',0,'OK','',''),(674,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',716,'2020-07-24 19:02:35','\0','change createDirectMobileExpenseBooking to createDirectMobileExpenseBookingWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectMobileExpenseBookingWithoutWorkflow\', description_de = \'createDirectMobileExpenseBookingWithoutWorkflow\' where cwid = 1303','update dw_operator_role set name = \'createDirectMobileExpenseBookingWithoutWorkflow\', description_de = \'createDirectMobileExpenseBookingWithoutWorkflow\' where cwid = 1303',0,'OK','',''),(675,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',717,'2020-07-24 19:02:35','\0','change createDirectMobileTimeBookingWithCamera to createDirectMobileTimeBookingWithCameraWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectMobileTimeBookingWithCameraWithoutWorkflow\', description_de = \'createDirectMobileTimeBookingWithCameraWithoutWorkflow\' where cwid = 1307','update dw_operator_role set name = \'createDirectMobileTimeBookingWithCameraWithoutWorkflow\', description_de = \'createDirectMobileTimeBookingWithCameraWithoutWorkflow\' where cwid = 1307',0,'OK','',''),(676,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',718,'2020-07-24 19:02:35','\0','change createDirectMobileTimeDuration to createDirectMobileTimeDurationWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectMobileTimeDurationWithoutWorkflow\', description_de = \'createDirectMobileTimeDurationWithoutWorkflow\' where cwid = 1306','update dw_operator_role set name = \'createDirectMobileTimeDurationWithoutWorkflow\', description_de = \'createDirectMobileTimeDurationWithoutWorkflow\' where cwid = 1306',0,'OK','',''),(677,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'name\')','',719,'2020-07-24 19:02:35','\0','change createDirectMobileWorkBookingWithCamera to createDirectMobileWorkBookingWithCameraWithoutWorkflow','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_operator_role set name = \'createDirectMobileWorkBookingWithCameraWithoutWorkflow\', description_de = \'createDirectMobileWorkBookingWithCameraWithoutWorkflow\' where cwid = 1308','update dw_operator_role set name = \'createDirectMobileWorkBookingWithCameraWithoutWorkflow\', description_de = \'createDirectMobileWorkBookingWithCameraWithoutWorkflow\' where cwid = 1308',0,'OK','',''),(678,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_open_pincode_waiting_period\')','',720,'2020-07-24 19:02:35','\0','add column dw_terminal_chiplox.activate_generally_open_pincode_waiting_period','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_terminal_chiplox add activate_generally_open_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column activate_generally_open_pincode_waiting_period INTEGER',0,'condition is false','',''),(679,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'activate_generally_open_pincode_waiting_period\')','',721,'2020-07-24 19:02:35','\0','init dw_terminal_chiplox.activate_generally_open_pincode_waiting_period = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_terminal_chiplox set activate_generally_open_pincode_waiting_period = 0 where activate_generally_open_pincode_waiting_period is null','update dw_terminal_chiplox set activate_generally_open_pincode_waiting_period = 0 where activate_generally_open_pincode_waiting_period is null',0,'OK','',''),(680,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_generally_open_pincode_waiting_period\')','',722,'2020-07-24 19:02:35','\0','add column dw_terminal_chiplox.deactivate_generally_open_pincode_waiting_period','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_terminal_chiplox add deactivate_generally_open_pincode_waiting_period INTEGER','alter table dw_terminal_chiplox add column deactivate_generally_open_pincode_waiting_period INTEGER',0,'condition is false','',''),(681,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_terminal_chiplox\', \'deactivate_generally_open_pincode_waiting_period\')','',723,'2020-07-24 19:02:35','\0','init dw_terminal_chiplox.deactivate_generally_open_pincode_waiting_period = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_terminal_chiplox set deactivate_generally_open_pincode_waiting_period = 0 where deactivate_generally_open_pincode_waiting_period is null','update dw_terminal_chiplox set deactivate_generally_open_pincode_waiting_period = 0 where deactivate_generally_open_pincode_waiting_period is null',0,'OK','',''),(682,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'logistics_active\')','',724,'2020-07-24 19:02:35','\0','add column dw_person_category_type.logistics_active','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_person_category_type add logistics_active BIT','alter table dw_person_category_type add column logistics_active BIT',0,'condition is false','',''),(683,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_category_type\', \'logistics_active\')','',725,'2020-07-24 19:02:35','\0','init dw_person_category_type.logistics_active','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_person_category_type set logistics_active = 0 where logistics_active is null','update dw_person_category_type set logistics_active = false where logistics_active is null',0,'OK','',''),(684,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_logistics_active\')','',726,'2020-07-24 19:02:35','\0','add column dw_person.no_logistics_active','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_person add no_logistics_active BIT','alter table dw_person add column no_logistics_active BIT',0,'condition is false','',''),(685,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person\', \'no_logistics_active\')','',727,'2020-07-24 19:02:35','\0','init dw_person.no_logistics_active','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_person set no_logistics_active = 0 where no_logistics_active is null','update dw_person set no_logistics_active = false where no_logistics_active is null',0,'OK','',''),(686,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_ressources\')','',728,'2020-07-24 19:02:35','\0','add column dw_general_validation.all_ressources','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_general_validation add all_ressources BIT','alter table dw_general_validation add column all_ressources BIT',0,'condition is false','',''),(687,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_ressources\')','',729,'2020-07-24 19:02:35','\0','init dw_general_validation.all_ressources = false','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_general_validation set all_ressources = 0 where all_ressources is null','update dw_general_validation set all_ressources = false where all_ressources is null',0,'OK','',''),(688,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'ignore_anti_pass_back\')','',730,'2020-07-24 19:02:35','\0','add column dw_chiplox_person_day_access_schedule_2_detail.ignore_anti_pass_back','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_chiplox_person_day_access_schedule_2_detail add ignore_anti_pass_back BIT','alter table dw_chiplox_person_day_access_schedule_2_detail add column ignore_anti_pass_back BIT',0,'condition is false','',''),(689,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_chiplox_person_day_access_schedule_2_detail\', \'ignore_anti_pass_back\')','',731,'2020-07-24 19:02:35','\0','init dw_chiplox_person_day_access_schedule_2_detail.ignore_anti_pass_back = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_chiplox_person_day_access_schedule_2_detail set ignore_anti_pass_back = 0 where ignore_anti_pass_back is null','update dw_chiplox_person_day_access_schedule_2_detail set ignore_anti_pass_back = 0 where ignore_anti_pass_back is null',0,'OK','',''),(690,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'set_access_to_entered\')','',732,'2020-07-24 19:02:35','\0','add column dw_booking_code_2_detail.set_access_to_entered','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_booking_code_2_detail add set_access_to_entered BIT','alter table dw_booking_code_2_detail add column set_access_to_entered BIT',0,'condition is false','',''),(691,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'set_access_to_entered\')','',733,'2020-07-24 19:02:35','\0','init dw_booking_code_2_detail.set_access_to_entered = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_booking_code_2_detail set set_access_to_entered = 0 where set_access_to_entered is null','update dw_booking_code_2_detail set set_access_to_entered = 0 where set_access_to_entered is null',0,'OK','',''),(692,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'set_access_to_left\')','',734,'2020-07-24 19:02:35','\0','add column dw_booking_code_2_detail.set_access_to_left','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_booking_code_2_detail add set_access_to_left BIT','alter table dw_booking_code_2_detail add column set_access_to_left BIT',0,'condition is false','',''),(693,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_booking_code_2_detail\', \'set_access_to_left\')','',735,'2020-07-24 19:02:35','\0','init dw_booking_code_2_detail.set_access_to_left = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_booking_code_2_detail set set_access_to_left = 0 where set_access_to_left is null','update dw_booking_code_2_detail set set_access_to_left = 0 where set_access_to_left is null',0,'OK','',''),(694,1,'at.dockwork.system.service.DataSourceService.existsTableInDatabase(connection, \'dw_identification\')','',736,'2020-07-24 19:02:35','\0','PIN_[personNumber] to PIN_PID=[id]','','2020-07-24 19:02:36','2020-07-24 19:02:36','','','',0,'OK','','import at.dockwork.common.domain.*\nimport at.dockwork.generated.service.*\n\nimport grails.util.Holders\n\nclass UpdateScriptService {\n\n	TriggerWriteService triggerWriteService = Holders.grailsApplication.mainContext.getBean \'triggerWriteService\'\n\n	def run(def connection, def dataSourceFields) {\n\n        def gormCriteria = Identification.createCriteria()\n        def list = gormCriteria {\n            and {\n                like(\"number\", \"PIN_%\")\n                eq(\"deleted\", false)\n            }\n        }\n\n        list = list.sort{ it.id }.sort{ it.number }.reverse()\n        list.each { identification ->\n\n            def parts = identification.number.split(\"_\")\n\n            if (parts.size() == 2) {\n\n                Person person = Person.findWhere(number:parts[1], deleted:false)\n                if (person) {\n                    String newNumber = \"PIN_PID=\" + person.id\n                    if (Identification.findWhere(number:newNumber, deleted:false)) {\n                        identification.deleted = true\n                    } else {\n                        identification.number = newNumber\n                    }\n                } else {\n                    identification.deleted = true\n                }\n\n            }\n            triggerWriteService.save(identification)\n        }\n\n		true\n	}\n}'),(695,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'receiver\')','',737,'2020-07-24 19:02:35','\0','add column dw_company.receiver','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_company add receiver BIT','alter table dw_company add column receiver BIT',0,'condition is false','',''),(696,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'receiver\')','',738,'2020-07-24 19:02:35','\0','init dw_company.receiver = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_company set receiver = 0 where receiver is null','update dw_company set receiver = 0 where receiver is null',0,'OK','',''),(697,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'carrier\')','',739,'2020-07-24 19:02:35','\0','add column dw_company.carrier','','2020-07-24 19:02:36','2020-07-24 19:02:36','','alter table dw_company add carrier BIT','alter table dw_company add column carrier BIT',0,'condition is false','',''),(698,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'carrier\')','',740,'2020-07-24 19:02:35','\0','init dw_company.carrier = 0','','2020-07-24 19:02:36','2020-07-24 19:02:36','','update dw_company set carrier = 0 where carrier is null','update dw_company set carrier = 0 where carrier is null',0,'OK','',''),(699,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'vendor_available_for_other_companies\')','',741,'2020-09-13 12:41:47','\0','add column dw_company.vendor_available_for_other_companies','','2020-09-13 12:41:47','2020-09-13 12:41:47','','alter table dw_company add vendor_available_for_other_companies INTEGER','alter table dw_company add column vendor_available_for_other_companies INTEGER',0,'condition is false','',''),(700,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'vendor_available_for_other_companies\')','',742,'2020-09-13 12:41:47','\0','init dw_company.vendor_available_for_other_companies = 0','','2020-09-13 12:41:47','2020-09-13 12:41:47','','update dw_company set vendor_available_for_other_companies = 0 where vendor_available_for_other_companies is null','update dw_company set vendor_available_for_other_companies = 0 where vendor_available_for_other_companies is null',0,'OK','',''),(701,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'receiver_available_for_other_companies\')','',743,'2020-09-13 12:41:47','\0','add column dw_company.receiver_available_for_other_companies','','2020-09-13 12:41:47','2020-09-13 12:41:47','','alter table dw_company add receiver_available_for_other_companies INTEGER','alter table dw_company add column receiver_available_for_other_companies INTEGER',0,'condition is false','',''),(702,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'receiver_available_for_other_companies\')','',744,'2020-09-13 12:41:47','\0','init dw_company.receiver_available_for_other_companies = 0','','2020-09-13 12:41:47','2020-09-13 12:41:47','','update dw_company set receiver_available_for_other_companies = 0 where receiver_available_for_other_companies is null','update dw_company set receiver_available_for_other_companies = 0 where receiver_available_for_other_companies is null',0,'OK','',''),(703,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'carrier_available_for_other_companies\')','',745,'2020-09-13 12:41:47','\0','add column dw_company.carrier_available_for_other_companies','','2020-09-13 12:41:47','2020-09-13 12:41:47','','alter table dw_company add carrier_available_for_other_companies INTEGER','alter table dw_company add column carrier_available_for_other_companies INTEGER',0,'condition is false','',''),(704,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company\', \'carrier_available_for_other_companies\')','',746,'2020-09-13 12:41:47','\0','init dw_company.carrier_available_for_other_companies = 0','','2020-09-13 12:41:47','2020-09-13 12:41:47','','update dw_company set carrier_available_for_other_companies = 0 where carrier_available_for_other_companies is null','update dw_company set carrier_available_for_other_companies = 0 where carrier_available_for_other_companies is null',0,'OK','',''),(705,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_work_combinations\')','',747,'2021-04-02 17:53:58','\0','add column dw_general_validation.all_work_combinations','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_general_validation add all_work_combinations BIT','alter table dw_general_validation add column all_work_combinations BIT',0,'condition is false','',''),(706,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_general_validation\', \'all_work_combinations\')','',748,'2021-04-02 17:53:58','\0','init dw_general_validation.all_work_combinations = false','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_general_validation set all_work_combinations = 0 where all_work_combinations is null','update dw_general_validation set all_work_combinations = false where all_work_combinations is null',0,'OK','',''),(707,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_work_combination\', \'work_combination_type_id\')','',749,'2021-04-02 17:53:58','\0','alter table dw_work_combination modify work_combination_type_id bigint null','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_work_combination alter column work_combination_type_id bigint null','alter table dw_work_combination modify work_combination_type_id bigint null',0,'OK','',''),(708,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'deleted\')','',750,'2021-04-02 17:53:58','\0','add column dw_person_2_person_category.deleted','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category add deleted BIT NOT NULL DEFAULT(0)','alter table dw_person_2_person_category add column deleted BIT NOT NULL DEFAULT 0',0,'condition is false','',''),(709,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'update_counter\')','',751,'2021-04-02 17:53:58','\0','add column dw_person_2_person_category.update_counter','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category add update_counter INTEGER NULL DEFAULT(0)','alter table dw_person_2_person_category add column update_counter INTEGER NOT NULL DEFAULT 0',0,'condition is false','',''),(710,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'percent_value\')','',752,'2021-04-02 17:53:58','\0','add column dw_person_2_person_category.percent_value','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category add percent_value FLOAT(53) NULL DEFAULT(0)','alter table dw_person_2_person_category add column percent_value DOUBLE NOT NULL DEFAULT 0',0,'condition is false','',''),(711,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'start_date\')','',753,'2021-04-02 17:53:58','\0','add column dw_person_2_person_category.start_date','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category add start_date DATETIME2','alter table dw_person_2_person_category add column start_date DATETIME',0,'condition is false','',''),(712,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'end_date\')','',754,'2021-04-02 17:53:58','\0','add column dw_person_2_person_category.end_date','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category add end_date DATETIME2','alter table dw_person_2_person_category add column end_date DATETIME',0,'condition is false','',''),(713,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_company_2_contact\', \'main_contact\')','',755,'2021-04-02 17:53:58','\0','add column dw_company_2_contact.main_contact','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_company_2_contact add main_contact BIT NULL DEFAULT(0)','alter table dw_company_2_contact add column main_contact BIT NOT NULL DEFAULT 0',0,'condition is false','',''),(714,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'comment\')','',756,'2021-04-02 17:53:58','\0','add column dw_person_2_person_category.comment','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category add comment varchar(255) NULL','alter table dw_person_2_person_category add comment varchar(255)',0,'condition is false','',''),(715,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'description_en\')','',757,'2021-04-02 17:53:58','\0','add column dw_time_time_type_definition_detail.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_time_time_type_definition_detail add description_en varchar(255) NULL','alter table dw_time_time_type_definition_detail add description_en varchar(255)',0,'condition is false','',''),(716,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition\', \'description_en\')','',758,'2021-04-02 17:53:58','\0','add column dw_time_time_type_definition.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_time_time_type_definition add description_en varchar(255) NULL','alter table dw_time_time_type_definition add description_en varchar(255)',0,'condition is false','',''),(717,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_sort_definition\', \'description_en\')','',759,'2021-04-02 17:53:58','\0','add column dw_sort_definition.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_sort_definition add description_en varchar(255) NULL','alter table dw_sort_definition add description_en varchar(255)',0,'condition is false','',''),(718,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_group_definition\', \'description_en\')','',760,'2021-04-02 17:53:58','\0','add column dw_group_definition.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_group_definition add description_en varchar(255) NULL','alter table dw_group_definition add description_en varchar(255)',0,'condition is false','',''),(719,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'description\')  && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition_detail\', \'description_en\')','',761,'2021-04-02 17:53:58','\0','update dw_time_time_type_definition_detail.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_time_time_type_definition_detail set description_en = description where description_en is null','update dw_time_time_type_definition_detail set description_en = description where description_en is null',0,'OK','',''),(720,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition\', \'description\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_definition\', \'description_en\')','',762,'2021-04-02 17:53:58','\0','update dw_time_time_type_definition.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_time_time_type_definition set description_en = description where description_en is null','update dw_time_time_type_definition set description_en = description where description_en is null',0,'OK','',''),(721,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_sort_definition\', \'description\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_sort_definition\', \'description_en\')','',763,'2021-04-02 17:53:58','\0','update dw_sort_definition.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_sort_definition set description_en = description where description_en is null','update dw_sort_definition set description_en = description where description_en is null',0,'OK','',''),(722,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_group_definition\', \'description\') && at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_group_definition\', \'description_en\')','',764,'2021-04-02 17:53:58','\0','update dw_group_definition.description_en','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_group_definition set description_en = description where description_en is null','update dw_group_definition set description_en = description where description_en is null',0,'OK','',''),(723,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'percent\')','',765,'2021-04-02 17:53:58','\0','drop dw_person_2_person_category.percent','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_person_2_person_category drop column percent','alter table dw_person_2_person_category drop column percent',0,'condition is false','',''),(724,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_person_2_person_category\', \'percent_value\')','',766,'2021-04-02 17:53:58','\0','init dw_person_2_person_category.percent_value = 0','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_person_2_person_category set percent_value = 0 where percent_value is null','update dw_person_2_person_category set percent_value = 0 where percent_value is null',0,'OK','',''),(725,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_person_type\')','',767,'2021-04-02 17:53:58','\0','add column dw_operator_role.select_person_type','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_operator_role add select_person_type BIT','alter table dw_operator_role add column select_person_type BIT',0,'condition is false','',''),(726,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_person_type\')','',768,'2021-04-02 17:53:58','\0','init dw_operator_role.select_person_type = false','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_operator_role set select_person_type = 0 where select_person_type is null','update dw_operator_role set select_person_type = false where select_person_type is null',0,'OK','',''),(727,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_email\', \'counter\')','',769,'2021-04-02 17:53:58','\0','add column dw_email.counter','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_email add counter INTEGER NULL DEFAULT(0)','alter table dw_email add column counter INTEGER NOT NULL DEFAULT 0',0,'condition is false','',''),(728,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_email\', \'counter\')','',770,'2021-04-02 17:53:58','\0','init dw_email.counter = 0','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_email set counter = 0 where counter is null','update dw_email set counter = 0 where counter is null',0,'OK','',''),(729,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_time_time_type_data_transfer\', \'time_time_type_data_transfer_enum\')','',771,'2021-04-02 17:53:58','\0','init dw_time_time_type_data_transfer.time_time_type_data_transfer_enum = \'DECIMAL\'','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_time_time_type_data_transfer set time_time_type_data_transfer_enum = \'_1_TO_1\' where time_time_type_data_transfer_enum is null','update dw_time_time_type_data_transfer set time_time_type_data_transfer_enum = \'_1_TO_1\' where time_time_type_data_transfer_enum is null',0,'OK','',''),(730,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_user\')','',772,'2021-04-02 17:53:58','\0','add column dw_operator_role.select_user','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_operator_role add select_user BIT','alter table dw_operator_role add column select_user BIT',0,'condition is false','',''),(731,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_user\')','',773,'2021-04-02 17:53:58','\0','init dw_operator_role.select_user = false','','2021-04-02 17:53:59','2021-04-02 17:53:59','','update dw_operator_role set select_user = 0 where select_user is null','update dw_operator_role set select_user = false where select_user is null',0,'OK','',''),(732,1,'!at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_operator_type\')','',774,'2021-04-02 17:53:58','\0','add column dw_operator_role.select_operator_type','','2021-04-02 17:53:59','2021-04-02 17:53:59','','alter table dw_operator_role add select_operator_type BIT','alter table dw_operator_role add column select_operator_type BIT',0,'condition is false','',''),(733,1,'at.dockwork.system.service.DataSourceService.existsFieldInDatabaseTable(connection, \'dw_operator_role\', \'select_operator_type\')','',775,'2021-04-02 17:53:58','\0','init dw_operator_role.select_operator_type = false','','2021-04-02 17:54:00','2021-04-02 17:54:00','','update dw_operator_role set select_operator_type = 0 where select_operator_type is null','update dw_operator_role set select_operator_type = false where select_operator_type is null',0,'OK','','');
