Index: trunk/dbconfig/tasks.md
===================================================================
--- trunk/dbconfig/tasks.md	(revision 11112)
+++ trunk/dbconfig/tasks.md	(revision 11135)
@@ -1,3 +1,3 @@
-# $Id: tasks.md,v 1.111 2007-01-16 22:19:30 jhoblitt Exp $
+# $Id: tasks.md,v 1.112 2007-01-19 00:12:11 jhoblitt Exp $
 
 # this table records all exposure ID ever seen from the summit
@@ -90,8 +90,5 @@
     exp_type    STR         64
     imfiles     S32         0
-# this value is assigned when the image is inserted into the
-# database.  downstream tools (phase2.pl, etc) use this word
-# to construct their output file names
-#   out_root    STR         255     # destination for output files
+    workdir     STR         255     # destination for output files
 END
 
@@ -108,13 +105,33 @@
 rawExp METADATA
     exp_tag     STR         64      # Primary Key
-#    exp_id      STR         64      # Key
+    exp_id      STR         64      # Key
     camera      STR         64
     telescope   STR         64
-    exp_type    STR         64
-# this value is assigned when the image is inserted into the
-# database.  downstream tools (phase2.pl, etc) use this word
-# to construct their output file names
-#   out_root    STR         255     # destination for output files
+    dateobs     UTC         0001-01-01T00:00:00Z
+    exp_type    STR         64
     imfiles     S32         0
+    workdir     STR         255     # destination for output files
+    filter      STR         64
+    airmass     F32         0.0
+    ra          F64         0.0
+    decl        F64         0.0
+    exp_time    F32         0.0
+    bg          F64         0.0
+    bg_stdev    F64         0.0
+    bg_mean_stdev   F64         0.0
+    alt         F64         0.0
+    az          F64         0.0
+    ccd_temp    F32         0.0
+    posang      F64         0.0 
+    object      STR         64
+    fault       S16         0       # NOT NULL
+END
+
+rawImfile METADATA
+    exp_tag     STR         64      # Primary Key
+    class       STR         64
+    class_id    STR         64      # Primary Key
+    uri         STR         255
+    exp_type    STR         64
     filter      STR         64
     airmass     F32         0.0
@@ -134,27 +151,4 @@
 END
 
-rawImfile METADATA
-    exp_tag     STR         64      # Primary Key
-    class       STR         64
-    class_id    STR         64      # Primary Key
-    uri         STR         255
-    exp_type    STR         64
-    filter      STR         64
-    airmass     F32         0.0
-    ra          F64         0.0
-    decl        F64         0.0
-    exp_time    F32         0.0
-    bg          F64         0.0
-    bg_stdev    F64         0.0
-    bg_mean_stdev   F64         0.0
-    alt         F64         0.0
-    az          F64         0.0
-    ccd_temp    F32         0.0
-    posang      F64         0.0 
-    object      STR         64
-    dateobs     UTC         0001-01-01T00:00:00Z
-    fault       S16         0       # NOT NULL
-END
-
 #
 # XXX - temporarily (???) stot carrying around class in imfiles after rawImfile
@@ -261,4 +255,5 @@
     state       STR         64     # Key
     exp_type    STR         64
+    workdir     STR         255     # destination for output files
     filter      STR         64
     airmass     F32         0.0
@@ -270,10 +265,4 @@
     use_begin   TAI         0001-01-01T00:00:00Z
     use_end     TAI         0001-01-01T00:00:00Z
-# XXX detRun needs the instrument, etc
-# this value is assigned when the detrun is created.  downstream tools
-# (detrend_stack.pl, etc) use this word to construct their output file
-# names
-#   out_root    STR         255     # destination for output files
-
 END
 
