Changeset 31408
- Timestamp:
- Apr 28, 2011, 6:46:42 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/dbconfig/changes.txt (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dbconfig/changes.txt
- Property svn:mergeinfo set to
r31378 r31408 2074 2074 2075 2075 2076 -- Version 1.1.70 2077 2078 CREATE TABLE lapSequence ( 2079 seq_id BIGINT AUTO_INCREMENT, -- Identifier for the processing sequence 2080 name VARCHAR(64) NOT NULL, -- short name of the sequence 2081 description VARCHAR(255) NOT NULL, -- longer description of the sequence 2082 PRIMARY KEY(seq_id), 2083 KEY(name) 2084 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2085 2086 CREATE TABLE lapRun ( 2087 lap_id BIGINT AUTO_INCREMENT, -- Identifier for the processing run 2088 seq_id BIGINT NOT NULL, -- Identifier to match to the sequence 2089 tess_id VARCHAR(64) NOT NULL, -- tessellation id to use 2090 projection_cell VARCHAR(64) NOT NULL, -- projection cell from the tessellation to consider 2091 filter VARCHAR(64) NOT NULL, -- filter 2092 state VARCHAR(64) NOT NULL, -- state of run 2093 label VARCHAR(64) NOT NULL, -- processing label 2094 dist_group VARCHAR(64) NOT NULL, -- distribution group for products of this run 2095 registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered 2096 fault SMALLINT NOT NULL, -- fault code 2097 quick_sass_id BIGINT, -- stackAssociation id for quick stack 2098 final_sass_id BIGINT, -- stackAssociation id for final stack 2099 PRIMARY KEY(lap_id), 2100 KEY(seq_id), 2101 KEY(projection_cell), 2102 KEY(filter), 2103 KEY(state), 2104 KEY(label), 2105 KEY(fault), 2106 FOREIGN KEY(seq_id) REFERENCES lapSequence(seq_id), 2107 FOREIGN KEY(quick_sass_id) REFERENCES stackAssociation(sass_id), 2108 FOREIGN KEY(final_sass_id) REFERENCES stackAssociation(sass_id) 2109 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2110 2111 CREATE TABLE lapExp ( 2112 lap_id BIGINT NOT NULL, -- Link back to processing run 2113 exp_id BIGINT NOT NULL, -- exposure definition 2114 chip_id BIGINT, -- processing id from chipRun 2115 pair_id BIGINT, -- companion chip_id 2116 private TINYINT DEFAULT 0, -- denotes this exposure is private 2117 pairwise TINYINT DEFAULT 0, -- denotes if this exposure should be pairwise diffed 2118 active TINYINT DEFAULT 0, -- denotes if this exposure is currently in use 2119 data_state VARCHAR(64) NOT NULL, -- state of exposure 2120 PRIMARY KEY (lap_id,exp_id), 2121 KEY (lap_id), 2122 KEY (exp_id), 2123 KEY (chip_id), 2124 KEY (pair_id), 2125 KEY (data_state), 2126 FOREIGN KEY (lap_id) REFERENCES lapRun(lap_id), 2127 FOREIGN KEY (exp_id) REFERENCES rawExp(exp_id), 2128 FOREIGN KEY (chip_id,exp_id) REFERENCES chipRun(chip_id,exp_id), 2129 FOREIGN KEY (pair_id) REFERENCES chipRun(chip_id) 2130 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2131 2132 UPDATE dbversion set schema_version = '1.1.70', updated= CURRENT_TIMESTAMP();
Note:
See TracChangeset
for help on using the changeset viewer.
