- Timestamp:
- Jun 10, 2009, 5:49:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_mops/ippTools/share/pxadmin_create_tables.sql
r24375 r24377 1375 1375 client_id BIGINT AUTO_INCREMENT, -- unique identifier 1376 1376 comment VARCHAR(255), -- for human memory 1377 stage VARCHAR(64) ,-- stage of interest (chip, camera, diff, etc.)1377 stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.) 1378 1378 format VARCHAR(64), -- format of data 1379 destination VARCHAR(255) ,-- where to send data1379 destination VARCHAR(255) NOT NULL, -- where to send data 1380 1380 PRIMARY KEY(client_id) 1381 1381 ) ENGINE=innodb DEFAULT CHARSET=latin1; … … 1384 1384 CREATE TABLE publishRun ( 1385 1385 pub_id BIGINT AUTO_INCREMENT, -- unique identifier 1386 client_id BIGINT, -- link to publishClient 1387 stage_id BIGINT, -- link to various stage tables 1386 client_id BIGINT NOT NULL, -- link to publishClient 1387 stage_id BIGINT NOT NULL, -- link to various stage tables 1388 label VARCHAR(64), -- label for run 1389 state VARCHAR(64), -- state of run (new, full, etc.) 1388 1390 PRIMARY KEY(pub_id), 1389 1391 KEY(client_id), 1390 1392 KEY(stage_id), 1393 KEY(label), 1394 KEY(state), 1391 1395 FOREIGN KEY(client_id) REFERENCES publishClient(client_id) 1392 1396 ) ENGINE=innodb DEFAULT CHARSET=latin1;
Note:
See TracChangeset
for help on using the changeset viewer.
