mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°1001 setup : log all modifications done on the DB in a SQL file (/log/setup-queries-YYYY-MM-DD_HH-mm.sql)
SVN:trunk[5445]
This commit is contained in:
@@ -1821,6 +1821,14 @@ EOF
|
||||
}
|
||||
return $aLicenses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string path to the log file where the create and/or alter queries are written
|
||||
*/
|
||||
static public function GetSetupQueriesFilePath()
|
||||
{
|
||||
return APPROOT.'log/setup-queries-'.strftime('%Y-%m-%d_%H_%M').'.sql';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user