Преглед изворни кода

to implement in instalator to have current process tables always locally

a.binder пре 8 година
родитељ
комит
e3205e3004
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      SE/superedit-INSTALL_SES_PROCESY_A.php

+ 1 - 0
SE/superedit-INSTALL_SES_PROCESY_A.php

@@ -2762,6 +2762,7 @@ function INSTALL_SES_PROCESY_A() {
 	 	exec($exec,$out,$exit);	 	DEBUG_S(-3,$command_id.':out of2/3 CREATE_ZASOBY_DATABASE_DESC',array($exec,$out,$exit),__FILE__,__FUNCTION__,__LINE__);flush();$out="";$exit="";
 	 	$exec='php -r"include(\''.$INSTALL_ROOT.'/superedit-SQIX_STRUCTURE_DB_SYNC.php\') ; SQIX_STRUCTURE_DB_SYNC(\'default_db\',\'test_db\',0,\'WYSLIJ_DO_BAZY\',\'FROM_ZASOBY_TO_ZASOBY\',\'3\'); " '.$_SERVER['SERVER_NAME'].' %PISM%,%zasob%,%ADMINISTRACJA%,%wyposazenie%,%global%,%WMS%,%ISP%,%BI%'; //import procesow z tagami PISMO  -
 	 	// this help is in case of my death ;-)
+	 	// to dump important data process mysqldump -uroot -p SES_USERS2 CRM_PROCES CRM_WSKAZNIK CRM_LISTA_ZASOBOW CRM_TESTY_PYTANIA CRM_IMAGE > process_table.sql
 	 	// use this unescaped from command to manually rebuild process (before clean it up by using CLEAR_IMPORTED_ZASOBY_REMOTE ) : (rename test.procesy5.pl by correct hostname)
 	 	//   php -r"include('superedit-SQIX_STRUCTURE_DB_SYNC.php') ; SQIX_STRUCTURE_DB_SYNC('import_db','default_db',0,'WYSLIJ_DO_BAZY','FROM_ZASOBY_TO_ZASOBY','1001'); " test.procesy5.pl %PISM%,%zasob%,%ADMINISTRACJA%,%wyposazenie%,%global%,%WMS%,%ISP%,%BI%
 	 	// or 1) prepare config_base_structure_dump.sql and upload it to target server