Skip to content

Commit

Permalink
Add foreign key constraint from ForcedSource to Object
Browse files Browse the repository at this point in the history
This demonstrates working foreign key constraints in felis that are
loaded into the TAP_SCHEMA table.
  • Loading branch information
JeremyMcCormick committed Oct 20, 2023
1 parent c700ad8 commit 760cb78
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions yml/dp02_dc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7213,6 +7213,15 @@ tables:
ivoa:ucd: phot.flux
tap:principal: 1
tap:column_index: 30
constraints:
- name: FK_forcedSourceId_objectId
"@type": "ForeignKey"
"@id": "#FK_forcedSourceId_objectId"
description: Foreign key from ForcedSource to Object
columns:
- "#ForcedSource.forcedSourceId"
referencedColumns:
- "#Object.objectId"
- name: DiaObject
"@id": "#DiaObject"
description: "Properties of time-varying astronomical objects based on association
Expand Down

0 comments on commit 760cb78

Please sign in to comment.