Changeset 24512 for trunk/ippTools/share/pxadmin_create_tables.sql
- Timestamp:
- Jun 19, 2009, 12:38:16 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/share/pxadmin_create_tables.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap_mops (added) merged: 24221,24373,24375-24377,24392,24413,24416,24427-24430,24435-24439,24442-24452,24456-24457,24499,24501,24503-24505,24507,24509
- Property svn:mergeinfo changed
-
trunk/ippTools/share/pxadmin_create_tables.sql
r24487 r24512 1369 1369 1370 1370 1371 1372 -- Tables to support publishing of detections to a Science Client 1373 1374 -- Clients to which we send stuff 1375 CREATE TABLE publishClient ( 1376 client_id BIGINT AUTO_INCREMENT, -- unique identifier 1377 product VARCHAR(64), -- product name 1378 stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.) 1379 workdir VARCHAR(255) NOT NULL, -- working directory 1380 comment VARCHAR(255), -- for human memory 1381 PRIMARY KEY(client_id) 1382 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1383 1384 -- Publishing a set of data (e.g., a specific diffRun) 1385 CREATE TABLE publishRun ( 1386 pub_id BIGINT AUTO_INCREMENT, -- unique identifier 1387 client_id BIGINT NOT NULL, -- link to publishClient 1388 stage_id BIGINT NOT NULL, -- link to various stage tables 1389 label VARCHAR(64), -- label for run 1390 state VARCHAR(64), -- state of run (new, full, etc.) 1391 PRIMARY KEY(pub_id), 1392 KEY(client_id), 1393 KEY(stage_id), 1394 KEY(label), 1395 KEY(state), 1396 FOREIGN KEY(client_id) REFERENCES publishClient(client_id) 1397 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1398 1399 -- Publishing a file within a set 1400 CREATE TABLE publishDone ( 1401 pub_id BIGINT AUTO_INCREMENT, -- link to publishRun 1402 path_base VARCHAR(255), -- base path of output 1403 fault SMALLINT NOT NULL DEFAULT 0, -- Fault code 1404 PRIMARY KEY(pub_id), 1405 KEY(fault), 1406 FOREIGN KEY(pub_id) REFERENCES publishRun(pub_id) 1407 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1408 1409 1371 1410 -- This comment line is here to avoid empty query error. 1372 1411 -- 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.
