Changeset 31396 for branches/czw_branch/20110406/dbconfig/changes.txt
- Timestamp:
- Apr 27, 2011, 7:33:50 PM (15 years ago)
- File:
-
- 1 edited
-
branches/czw_branch/20110406/dbconfig/changes.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20110406/dbconfig/changes.txt
r31038 r31396 2058 2058 UPDATE dbversion set schema_version = '1.1.69', updated= CURRENT_TIMESTAMP(); 2059 2059 2060 2061 2060 -- Version 1.1.70 2061 2062 CREATE TABLE lapSequence ( 2063 seq_id BIGINT AUTO_INCREMENT, -- Identifier for the processing sequence 2064 name VARCHAR(64) NOT NULL, -- short name of the sequence 2065 description VARCHAR(255) NOT NULL, -- longer description of the sequence 2066 PRIMARY KEY(seq_id), 2067 KEY(name) 2068 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2069 2070 CREATE TABLE lapRun ( 2071 lap_id BIGINT AUTO_INCREMENT, -- Identifier for the processing run 2072 seq_id BIGINT NOT NULL, -- Identifier to match to the sequence 2073 tess_id VARCHAR(64) NOT NULL, -- tessellation id to use 2074 projection_cell VARCHAR(64) NOT NULL, -- projection cell from the tessellation to consider 2075 filter VARCHAR(64) NOT NULL, -- filter 2076 state VARCHAR(64) NOT NULL, -- state of run 2077 label VARCHAR(64) NOT NULL, -- processing label 2078 dist_group VARCHAR(64) NOT NULL, -- distribution group for products of this run 2079 registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered 2080 fault SMALLINT NOT NULL, -- fault code 2081 quick_sass_id, -- stackAssociation id for quick stack 2082 final_sass_id, -- stackAssociation id for final stack 2083 PRIMARY KEY(lap_id), 2084 KEY(seq_id), 2085 KEY(projection_cell), 2086 KEY(filter), 2087 KEY(state), 2088 KEY(label), 2089 KEY(fault), 2090 FOREIGN KEY(seq_id) REFERENCES lapSequence(seq_id), 2091 FOREIGN KEY(quick_sass_id) REFERENCES stackAssociation(sass_id), 2092 FOREIGN KEY(final_sass_id) REFERENCES stackAssociation(sass_id) 2093 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2094 2095 CREATE TABLE lapExp ( 2096 lap_id BIGINT NOT NULL, -- Link back to processing run 2097 exp_id BIGINT NOT NULL, -- exposure definition 2098 chip_id BIGINT, -- processing id from chipRun 2099 pair_id BIGINT, -- companion chip_id 2100 private TINYINT DEFAULT 0, -- denotes this exposure is private 2101 pairwise TINYINT DEFAULT 0, -- denotes if this exposure should be pairwise diffed 2102 active TINYINT DEFAULT 0, -- denotes if this exposure is currently in use 2103 data_state VARCHAR(64) NOT NULL, -- state of exposure 2104 PRIMARY KEY (lap_id), 2105 KEY (exp_id), 2106 KEY (chip_id), 2107 KEY (pair_id), 2108 KEY (data_state), 2109 FOREIGN KEY (lap_id) REFERENCES lapRun(lap_id), 2110 FOREIGN KEY (exp_id) REFERENCES rawExp(exp_id), 2111 FOREIGN KEY (chip_id,exp_id) REFERENCES chipRun(chip_id,exp_id), 2112 FOREIGN KEY (pair_id) REFERENCES chipRun(chip_id), 2113 ) ENGINE=innodb DEFAULT CHARSET=latin1; 2114 2115 UPDATE dbversion set schema_version = '1.1.70', updated= CURRENT_TIMESTAMP();
Note:
See TracChangeset
for help on using the changeset viewer.
