Skip to content

Commit

Permalink
Merge pull request #162 from lsst/tickets/DM-41652
Browse files Browse the repository at this point in the history
DM-41652: Add all intra-DP0.2 single-attribute foreign keys
  • Loading branch information
gpdf authored Nov 8, 2023
2 parents fa7cd0d + 44c4f83 commit 887d12b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions yml/dp02_dc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8334,6 +8334,15 @@ tables:
mysql:datatype: FLOAT
description: 1-sigma uncertainty on y position
fits:tunit: pixel
constraints:
- name: DiaO_DiaS
"@type": "ForeignKey"
"@id": "#FK_DiaSource_diaObjectId_DiaObject_diaObjectId"
description: Link DiaObjects to associated DiaSources
columns:
- "#DiaSource.diaObjectId"
referencedColumns:
- "#DiaObject.diaObjectId"
- name: ForcedSourceOnDiaObject
"@id": "#ForcedSourceOnDiaObject"
description: "Point-source forced-photometry measurements on individual single-epoch
Expand Down Expand Up @@ -8970,6 +8979,15 @@ tables:
mysql:datatype: DOUBLE
fits:tunit: deg
ivoa:ucd: pos.eq.dec
constraints:
- name: Visit_CcdV
"@type": "ForeignKey"
"@id": "#FK_CcdVisit_visitId_Visit_visitId"
description: Link Visits to the CcdVisits they contain
columns:
- "#CcdVisit.visitId"
referencedColumns:
- "#Visit.visit"
- name: CoaddPatches
"@id": "#coaddpatches"
description: "Static information about the subset of tracts and patches from the standard
Expand Down

0 comments on commit 887d12b

Please sign in to comment.