Changeset 31038 for trunk/dbconfig/summitcopy.md
- Timestamp:
- Mar 24, 2011, 2:09:53 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/dbconfig/summitcopy.md (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dbconfig/summitcopy.md
r26378 r31038 11 11 # -1 as NULL or 0 might be a valid value (empty fileset) 12 12 summitExp METADATA 13 exp_name STR 64 # Primary Key 14 camera STR 64 # Primary Key 15 telescope STR 64 # Primary Key 13 summit_id S64 0 # Primary Key AUTO_INCREMENT 14 exp_name STR 64 # Key 15 camera STR 64 # Key 16 telescope STR 64 # Key 16 17 dateobs UTC NULL 17 18 exp_type STR 64 … … 26 27 # list of source images -- updated as exposures/filesets are queried 27 28 summitImfile METADATA 28 exp_name STR 64 # Primary Key fkey(exp_name, camera, telescope) ref summitExp(exp_name, camera, telescope) 29 camera STR 64 # Primary Key 30 telescope STR 64 # Primary Key 29 summit_id S64 0 # Primary Key fkey(summit_id) ref summitExp(summit_id) 30 exp_name STR 64 # Key fkey(exp_name, camera, telescope) ref summitExp(exp_name, camera, telescope) 31 camera STR 64 # Key 32 telescope STR 64 # Key 31 33 file_id STR 64 # Key 32 34 bytes S32 0 … … 41 43 # downloaded) 42 44 pzDownloadExp METADATA 43 exp_name STR 64 # Primary Key fkey(exp_name, camera, telescope) ref summitExp(exp_name, camera, telescope) 44 camera STR 64 # Primary Key 45 telescope STR 64 # Primary Key 45 summit_id S64 0 # Primary Key fkey(summit_id) ref summitExp(summit_id) 46 exp_name STR 64 # Key fkey(exp_name, camera, telescope) ref summitExp(exp_name, camera, telescope) 47 camera STR 64 # Key 48 telescope STR 64 # Key 46 49 state STR 64 # Key 47 50 epoch UTC 0001-01-01T00:00:00Z … … 49 52 50 53 pzDownloadImfile METADATA 51 exp_name STR 64 # Primary Key fkey(exp_name, camera, telescope) ref pzDownloadExp(exp_name, camera, telescope) 52 camera STR 64 # Primary Key fkey(exp_name, camera, telescope, class, class_id) ref summitImfile(exp_name, camera, telescope, class, class_id) 53 telescope STR 64 # Primary Key 54 class STR 64 # Primary Key 54 summit_id S64 0 # Primary Key fkey(summit_id) ref pzDownloadExp(summit_id) 55 exp_name STR 64 # Key fkey(exp_name, camera, telescope) ref pzDownloadExp(exp_name, camera, telescope) 56 camera STR 64 # Key fkey(exp_name, camera, telescope, class, class_id) ref summitImfile(exp_name, camera, telescope, class, class_id) 57 telescope STR 64 # Key fkey(exp_name, camera, telescope) ref summitExp(exp_name, camera, telescope) 58 class STR 64 # Primary Key fkey(summit_id,class,class_id) ref summitImfile(summit_id,class,class_id) 55 59 class_id STR 64 # Primary Key 56 60 uri STR 255
Note:
See TracChangeset
for help on using the changeset viewer.
