Skip to content

Commit

Permalink
Merge pull request #41 from lsst-sqre/tickets/DM-24632
Browse files Browse the repository at this point in the history
[DM-24632] Fix datatype from char[] to char
  • Loading branch information
cbanek authored Apr 28, 2020
2 parents 240d7bc + 5f08ee9 commit 0639dc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/tap-schema/1007_desc_dc2_run12_v4.sql
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize,
INSERT INTO tap_schema.tables11 (schema_name, table_name, table_type, utype, description, table_index) VALUES ('desc_dc2_run12p_v4e', 'desc_dc2_run12p_v4e.ccdvisit', 'table', null, null, 0);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'ccdvisitid', 'long', null, null, 'Primary key (unique identifier).', null, null, 'meta.id;obs.image', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'visitid', 'int', null, null, 'Reference to the corresponding entry in the Visit table.', null, null, 'meta.id;obs.exposure', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'ccdname', 'char[]', 3, null, 'Ccd name.', null, null, 'meta.id;instr.det', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'raftname', 'char[]', 3, null, 'Raft name.', null, null, 'meta.id;instr.det', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'filtername', 'char[]', 1, null, 'Filter name used for this exposure.', null, null, 'meta.id;instr.filter', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'ccdname', 'char', 3, null, 'Ccd name.', null, null, 'meta.id;instr.det', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'raftname', 'char', 3, null, 'Raft name.', null, null, 'meta.id;instr.det', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'filtername', 'char', 1, null, 'Filter name used for this exposure.', null, null, 'meta.id;instr.filter', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'obsstart', 'string', null, null, 'Start of the exposure, TAI, accurate to 10ms.', null, null, 'time.start', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'expmidpt', 'double', null, null, 'Midpoint for exposure. TAI, accurate to 10ms.', null, null, 'time.epoch', 0, 0, 0, null);
INSERT INTO tap_schema.columns11 (table_name, column_name, datatype, arraysize, xtype, description, utype, unit, ucd, indexed, principal, std, column_index) VALUES ('desc_dc2_run12p_v4e.ccdvisit', 'exptime', 'double', null, null, 'Average duration of exposure, accurate to 10ms.', null, 's', 'time.duration', 0, 0, 0, null);
Expand Down

0 comments on commit 0639dc4

Please sign in to comment.