Task #3323
open
Generate default table xml
Added by Anchi Cheng over 9 years ago.
Updated over 9 years ago.
Description
I have not generate these properly since Denis left except the first time. This issue is used to archive his input on how to do this. This is very old but there might be relevant later.
Files
Denis Fellman wrote:
To generate default tables, I'm using the same XML schema I defined for leginon application. Please find attached 3 scripts respectively for dbem, project and processing db.
These can easily be merge in 1 single file. Tables to export are defines in $tables array. Put the appropriate db connection parameters and run the script form the command line in a dbem dir. The script will printout the XML dump; for example:
[acheng@ dbem]$ php dumpdefaultdbemtables.php > defaulttables20100813.xml
Also available in: Atom
PDF