Changeset 24376 for branches/pap_mops/dbconfig/changes.txt
- Timestamp:
- Jun 10, 2009, 4:54:52 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap_mops/dbconfig/changes.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_mops/dbconfig/changes.txt
r24174 r24376 1126 1126 1127 1127 -- Version 1.1.53 1128 1129 -- Tables to support publishing of detections to a Science Client 1130 -- Clients to which we send stuff 1131 CREATE TABLE publishClient ( 1132 client_id BIGINT AUTO_INCREMENT, -- unique identifier 1133 comment VARCHAR(255), -- for human memory 1134 stage VARCHAR(64), -- stage of interest (chip, camera, diff, etc.) 1135 format VARCHAR(64), -- format of data 1136 destination VARCHAR(255), -- where to send data 1137 PRIMARY KEY(client_id) 1138 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1139 -- Publishing a set of data (e.g., a specific diffRun) 1140 CREATE TABLE publishRun ( 1141 pub_id BIGINT AUTO_INCREMENT, -- unique identifier 1142 client_id BIGINT, -- link to publishClient 1143 stage_id BIGINT, -- link to various stage tables 1144 PRIMARY KEY(pub_id), 1145 KEY(client_id), 1146 KEY(stage_id), 1147 FOREIGN KEY(client_id) REFERENCES publishClient(client_id) 1148 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1149 -- Publishing a file within a set 1150 CREATE TABLE publishFile ( 1151 pub_id BIGINT AUTO_INCREMENT, -- link to publishRun 1152 component VARCHAR(64), -- analagous to class_id or skycell_id 1153 fault SMALLINT NOT NULL DEFAULT 0, -- Fault code 1154 PRIMARY KEY(pub_id, component), 1155 KEY(component), 1156 KEY(fault), 1157 FOREIGN KEY(pub_id) REFERENCES publishRun(pub_id) 1158 ) ENGINE=innodb DEFAULT CHARSET=latin1;
Note:
See TracChangeset
for help on using the changeset viewer.
