- Timestamp:
- Feb 11, 2013, 4:50:12 PM (13 years ago)
- Location:
- branches/czw_branch/20130211/ippTools
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
share/pxadmin_create_tables.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20130211/ippTools
- Property svn:mergeinfo set to
-
branches/czw_branch/20130211/ippTools/share/pxadmin_create_tables.sql
r35144 r35149 1844 1844 data_group VARCHAR(64), -- group for data 1845 1845 dist_group VARCHAR(64), -- group for distribution 1846 reduction VARCHAR(64), -- reduction class (for altering recipe) 1846 reduction VARCHAR(64), -- reduction class (for altering recipe) 1847 alt_cam_label VARCHAR(64), -- label for alternate version of astrometry (optional) 1847 1848 note VARCHAR(255), -- note 1848 1849 registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered … … 2162 2163 surveyID INT(8), 2163 2164 releaseName VARCHAR(64), 2164 state VARCHAR(16), -- active, pending archivedrop2165 relase_state VARCHAR(16), -- active, pending, archive, drop 2165 2166 dataRelease INT(8), -- PSPS dataRelease 2167 priority INT(8), 2166 2168 PRIMARY KEY(rel_id), 2167 2169 KEY(releaseName), 2168 2170 KEY(state), 2171 KEY(priority), 2169 2172 FOREIGN KEY(surveyID) REFERENCES survey(surveyID) 2170 2173 ) ENGINE=Innodb DEFAULT CHARSET=latin1; … … 2192 2195 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2193 2196 2194 2195 -- This comment line is here to avoid empty query error. 2197 CREATE TABLE relStack ( 2198 relstack_id BIGINT AUTO_INCREMENT, 2199 rel_id INT(8), 2200 skycal_id BIGINT, -- id of the sky calibration run that supplied the calibration 2201 -- for this release. We get back to stack from here 2202 skycell_id varchar(64), 2203 tess_id varchar(64), 2204 state VARCHAR(16), -- released, pending, archive, drop 2205 flags INT UNSIGNED, 2206 stack_type VARCHAR(16), -- nightly, deep, reference 2207 zpt_obs FLOAT, -- calibrated zero point for this release of this skycell 2208 zpt_stdev FLOAT, 2209 fwhm_major FLOAT, -- seeing as measured by staticsky 2210 path_base VARCHAR(255), -- path_base of any supporting files, 2211 registered DATETIME, 2212 time_stamp DATETIME, 2213 PRIMARY KEY (relstack_id), 2214 KEY (tess_id, skycell_id), 2215 KEY (rel_id, tess_id, skycell_id), 2216 FOREIGN KEY(rel_id) REFERENCES ippRelease(rel_id), 2217 FOREIGN KEY(skycal_id) REFERENCES skycalRun(skycal_id) 2218 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2219 2220 2221 2222 -- These comment lines are here to avoid an empty query error. 2196 2223 -- Another way to avoid that problem is to omit the semicolon above but I think that is untidy.
Note:
See TracChangeset
for help on using the changeset viewer.
