Changeset 31435 for trunk/ippTools/share/pxadmin_create_tables.sql
- Timestamp:
- May 4, 2011, 3:59:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/pxadmin_create_tables.sql
- Property svn:mergeinfo changed
/branches/czw_branch/20110406/ippTools/share/pxadmin_create_tables.sql (added) merged: 31396,31407,31434
r31375 r31435 1891 1891 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1892 1892 1893 -- Tables for large area processing 1894 1895 CREATE TABLE lapSequence ( 1896 seq_id BIGINT AUTO_INCREMENT, -- Identifier for the processing sequence 1897 name VARCHAR(64) NOT NULL, -- short name of the sequence 1898 description VARCHAR(255) NOT NULL, -- longer description of the sequence 1899 PRIMARY KEY(seq_id), 1900 KEY(name) 1901 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1902 1903 CREATE TABLE lapRun ( 1904 lap_id BIGINT AUTO_INCREMENT, -- Identifier for the processing run 1905 seq_id BIGINT NOT NULL, -- Identifier to match to the sequence 1906 tess_id VARCHAR(64) NOT NULL, -- tessellation id to use 1907 projection_cell VARCHAR(64) NOT NULL, -- projection cell from the tessellation to consider 1908 filter VARCHAR(64) NOT NULL, -- filter 1909 state VARCHAR(64) NOT NULL, -- state of run 1910 label VARCHAR(64) NOT NULL, -- processing label 1911 dist_group VARCHAR(64) NOT NULL, -- distribution group for products of this run 1912 registered TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- time run was registered 1913 fault SMALLINT NOT NULL, -- fault code 1914 quick_sass_id BIGINT, -- stackAssociation id for quick stack 1915 final_sass_id BIGINT, -- stackAssociation id for final stack 1916 PRIMARY KEY(lap_id), 1917 KEY(seq_id), 1918 KEY(projection_cell), 1919 KEY(filter), 1920 KEY(state), 1921 KEY(label), 1922 KEY(fault), 1923 FOREIGN KEY(seq_id) REFERENCES lapSequence(seq_id), 1924 FOREIGN KEY(quick_sass_id) REFERENCES stackAssociation(sass_id), 1925 FOREIGN KEY(final_sass_id) REFERENCES stackAssociation(sass_id) 1926 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1927 1928 CREATE TABLE lapExp ( 1929 lap_id BIGINT NOT NULL, -- Link back to processing run 1930 exp_id BIGINT NOT NULL, -- exposure definition 1931 chip_id BIGINT, -- processing id from chipRun 1932 pair_id BIGINT, -- companion chip_id 1933 private TINYINT DEFAULT 0, -- denotes this exposure is private 1934 pairwise TINYINT DEFAULT 0, -- denotes if this exposure should be pairwise diffed 1935 active TINYINT DEFAULT 0, -- denotes if this exposure is currently in use 1936 data_state VARCHAR(64) NOT NULL, -- state of exposure 1937 PRIMARY KEY (lap_id), 1938 KEY (exp_id), 1939 KEY (chip_id), 1940 KEY (pair_id), 1941 KEY (data_state), 1942 FOREIGN KEY (lap_id) REFERENCES lapRun(lap_id), 1943 FOREIGN KEY (exp_id) REFERENCES rawExp(exp_id), 1944 FOREIGN KEY (chip_id,exp_id) REFERENCES chipRun(chip_id,exp_id), 1945 FOREIGN KEY (pair_id) REFERENCES chipRun(chip_id) 1946 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1947 1893 1948 -- This comment line is here to avoid empty query error. 1894 1949 -- Another way to avoid that problem is to omit the semicolon above but I think that is untidy. - Property svn:mergeinfo changed
Note:
See TracChangeset
for help on using the changeset viewer.
