Skip to content

Commit

Permalink
Merge pull request #227 from lsst/tickets/DM-44637
Browse files Browse the repository at this point in the history
DM-44637: Remove unnecessary MySQL datatype overrides for string types
  • Loading branch information
JeremyMcCormick authored Jun 5, 2024
2 parents e4a862f + d9b903e commit cebe984
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
9 changes: 0 additions & 9 deletions yml/apdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2404,7 +2404,6 @@ tables:
datatype: char
length: 8
description: Number or provisional designation (in packed form).
mysql:datatype: VARCHAR(8)
ivoa:ucd: meta.id;src
- name: mpcNumber
"@id": "#MPCORB.mpcNumber"
Expand Down Expand Up @@ -2469,13 +2468,11 @@ tables:
datatype: char
length: 1
description: Uncertainty parameter, U.
mysql:datatype: VARCHAR(1)
- name: reference
"@id": "#MPCORB.reference"
datatype: char
length: 9
description: Reference.
mysql:datatype: VARCHAR(9)
- name: nobs
"@id": "#MPCORB.nobs"
datatype: int
Expand Down Expand Up @@ -2508,20 +2505,17 @@ tables:
length: 3
description: Coarse indicator of perturbers (blank if unperturbed one-opposition.
object)'
mysql:datatype: VARCHAR(3)
- name: pertsLong
"@id": "#MPCORB.pertsLong"
datatype: char
length: 3
description: Precise indicator of perturbers (blank if unperturbed one-opposition.
object)'
mysql:datatype: VARCHAR(3)
- name: computer
"@id": "#MPCORB.computer"
datatype: char
length: 10
description: Computer name.
mysql:datatype: VARCHAR(10)
- name: flags
"@id": "#MPCORB.flags"
datatype: int
Expand All @@ -2532,7 +2526,6 @@ tables:
datatype: char
length: 26
description: Readable designation.
mysql:datatype: VARCHAR(26)
- name: lastIncludedObservation
"@id": "#MPCORB.lastIncludedObservation"
datatype: float
Expand All @@ -2551,7 +2544,6 @@ tables:
datatype: char
length: 8
description: Either the MPC provisional or permanent designation.
mysql:datatype: VARCHAR(8)
ivoa:ucd: meta.id;src
- name: mpcNumber
"@id": "#MPCORBDESIGMAP.mpcNumber"
Expand All @@ -2562,7 +2554,6 @@ tables:
datatype: char
length: 8
description: Other designation by which this object is known.
mysql:datatype: VARCHAR(8)
- name: ssObjectId
"@id": "#MPCORBDESIGMAP.ssObjectId"
datatype: long
Expand Down
7 changes: 0 additions & 7 deletions yml/dp03_10yr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ tables:
datatype: char
length: 8
description: 'MPCORB: Number or provisional designation (in packed form)'
mysql:datatype: VARCHAR(8)
ivoa:ucd: meta.id;src
- name: mpcNumber
"@id": "#MPCORB.mpcNumber"
Expand Down Expand Up @@ -677,13 +676,11 @@ tables:
datatype: char
length: 1
description: 'MPCORB: Uncertainty parameter, U'
mysql:datatype: VARCHAR(1)
- name: reference
"@id": "#MPCORB.reference"
datatype: char
length: 9
description: 'MPCORB: Reference'
mysql:datatype: VARCHAR(9)
- name: nobs
"@id": "#MPCORB.nobs"
datatype: int
Expand Down Expand Up @@ -718,20 +715,17 @@ tables:
length: 3
description: 'MPCORB: Coarse indicator of perturbers (blank if unperturbed one-opposition
object)'
mysql:datatype: VARCHAR(3)
- name: pertsLong
"@id": "#MPCORB.pertsLong"
datatype: char
length: 3
description: 'MPCORB: Precise indicator of perturbers (blank if unperturbed one-opposition
object)'
mysql:datatype: VARCHAR(3)
- name: computer
"@id": "#MPCORB.computer"
datatype: char
length: 10
description: 'MPCORB: Computer name'
mysql:datatype: VARCHAR(10)
- name: flags
"@id": "#MPCORB.flags"
datatype: int
Expand All @@ -742,7 +736,6 @@ tables:
datatype: char
length: 26
description: 'MPCORB: Readable designation'
mysql:datatype: VARCHAR(26)
- name: lastIncludedObservation
"@id": "#MPCORB.lastIncludedObservation"
datatype: float
Expand Down
7 changes: 0 additions & 7 deletions yml/dp03_1yr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ tables:
datatype: char
length: 8
description: 'MPCORB: Number or provisional designation (in packed form)'
mysql:datatype: VARCHAR(8)
ivoa:ucd: meta.id;src
- name: mpcNumber
"@id": "#MPCORB.mpcNumber"
Expand Down Expand Up @@ -659,13 +658,11 @@ tables:
datatype: char
length: 1
description: 'MPCORB: Uncertainty parameter, U'
mysql:datatype: VARCHAR(1)
- name: reference
"@id": "#MPCORB.reference"
datatype: char
length: 9
description: 'MPCORB: Reference'
mysql:datatype: VARCHAR(9)
- name: nobs
"@id": "#MPCORB.nobs"
datatype: int
Expand Down Expand Up @@ -700,20 +697,17 @@ tables:
length: 3
description: 'MPCORB: Coarse indicator of perturbers (blank if unperturbed one-opposition
object)'
mysql:datatype: VARCHAR(3)
- name: pertsLong
"@id": "#MPCORB.pertsLong"
datatype: char
length: 3
description: 'MPCORB: Precise indicator of perturbers (blank if unperturbed one-opposition
object)'
mysql:datatype: VARCHAR(3)
- name: computer
"@id": "#MPCORB.computer"
datatype: char
length: 10
description: 'MPCORB: Computer name'
mysql:datatype: VARCHAR(10)
- name: flags
"@id": "#MPCORB.flags"
datatype: int
Expand All @@ -724,7 +718,6 @@ tables:
datatype: char
length: 26
description: 'MPCORB: Readable designation'
mysql:datatype: VARCHAR(26)
- name: lastIncludedObservation
"@id": "#MPCORB.lastIncludedObservation"
datatype: float
Expand Down

0 comments on commit cebe984

Please sign in to comment.