# $Id: stack.md,v 1.5 2007-10-25 20:33:45 price Exp $

stackRun METADATA
    stack_id    S64         0       # Primary Key AUTO_INCREMENT
    state       STR         64      # Key
    workdir     STR         255
    dvodb       STR         255
    registered  TAI         NULL
    skycell_id  STR         64      # Key
    tess_id     STR         64      # Key
END

stackInputSkyfile METADATA
    stack_id    S64         0       # Primary Key fkey(stack_id) ref stackRun(stack_id)
    warp_id     S64         0       # Primary Key fkey(warp_id) ref warpSkyfile(warp_id)
END

stackSumSkyfile METADATA
    stack_id    S64         0       # Primary Key fkey(stack_id) ref stackRun(stack_id)
    uri         STR         255
    path_base   STR         255
    bg          F64         0.0
    bg_stdev    F64         0.0
    good_frac   F64         0.0     # Key
    fault       S16         0       # Key
END
