Index: /branches/eam_branches/ipp-20230313/dbconfig/ipp.m4
===================================================================
--- /branches/eam_branches/ipp-20230313/dbconfig/ipp.m4	(revision 42572)
+++ /branches/eam_branches/ipp-20230313/dbconfig/ipp.m4	(revision 42573)
@@ -44,2 +44,3 @@
 include(fpcam.md)
 include(xcstack.md)
+include(xcsky.md)
Index: /branches/eam_branches/ipp-20230313/dbconfig/notes.txt
===================================================================
--- /branches/eam_branches/ipp-20230313/dbconfig/notes.txt	(revision 42572)
+++ /branches/eam_branches/ipp-20230313/dbconfig/notes.txt	(revision 42573)
@@ -1,2 +1,18 @@
+
+2023.12.24 : EAM
+  for reference, when adding a new stage:
+
+  * the stage tables need to be added in dbconfig
+    new file foo.md
+    added to ipp.m4
+    make
+    make install
+
+  * then in ippdb.src
+    psautogen
+    make
+    make install
+
+  * then the supporting stage tools can be added to ippTools and built
 
 2007.06.08 : EAM
Index: /branches/eam_branches/ipp-20230313/dbconfig/xcsky.md
===================================================================
--- /branches/eam_branches/ipp-20230313/dbconfig/xcsky.md	(revision 42572)
+++ /branches/eam_branches/ipp-20230313/dbconfig/xcsky.md	(revision 42573)
@@ -3,5 +3,5 @@
 
 xcskyRun METADATA
-    sky_id      S64         0       # Primary Key AUTO_INCREMENT
+    xcsky_id    S64         0       # Primary Key AUTO_INCREMENT
     state       STR         64      # Key
     workdir     STR         255
@@ -15,10 +15,10 @@
 
 xcskyInput METADATA
-    sky_id      S64         0       # Primary Key fkey(sky_id) ref xcskyRun(sky_id)
-    xcstack_id  S64         0       # Primary Key fkey(xcstack_id) ref stackSumSkyfile(xcstack_id)
+    xcsky_id    S64         0       # Primary Key fkey(xcsky_id) ref xcskyRun(xcsky_id)
+    xcstack_id  S64         0       # Primary Key fkey(xcstack_id) ref xcstackSumSkyfile(xcstack_id)
 END
 
 xcskyResult METADATA
-    sky_id             S64    0       # Primary Key fkey(sky_id) ref xcskyRun(sky_id)
+    xcsky_id           S64    0       # Primary Key fkey(xcsky_id) ref xcskyRun(xcsky_id)
     path_base          STR    255
     dtime_phot         F32    0.0
@@ -33,6 +33,6 @@
 
 xccalRun METADATA
-    cal_id      S64         0       # Primary Key AUTO_INCREMENT
-    sky_id      S64         0       # fkey(sky_id) ref xcskyRun(sky_id)
+    xccal_id    S64         0       # Primary Key AUTO_INCREMENT
+    xcsky_id    S64         0       # fkey(xcsky_id) ref xcskyRun(xcsky_id)
     xcstack_id  S64         0       # fkey(xcstack_id) ref xcstackRun(xcstack_id)
     state       STR         64      # Key
@@ -47,5 +47,5 @@
 
 xccalResult METADATA
-    cal_id         S64    0       # Primary Key fkey(cal_id) ref xccalRun(cal_id)
+    xccal_id       S64    0       # Primary Key fkey(xccal_id) ref xccalRun(xccal_id)
     path_base      STR    255
     dtime_script   F32    0.0
