Project

General

Profile

Actions

Task #3323

open

Generate default table xml

Added by Anchi Cheng about 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/20/2015
Due date:
% Done:

0%

Estimated time:
Deliverable:

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

dumpdefaultprojecttables.php (393 Bytes) dumpdefaultprojecttables.php Anchi Cheng, 07/21/2015 12:57 AM
dumpdefaultdbemtables.php (919 Bytes) dumpdefaultdbemtables.php Anchi Cheng, 07/21/2015 12:57 AM
dumpdefaultprocessingtables.php (321 Bytes) dumpdefaultprocessingtables.php Anchi Cheng, 07/21/2015 12:57 AM

Updated by Anchi Cheng about 9 years ago

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
Actions

Also available in: Atom PDF