Hi Tim,

Yes, I thought about keeping alertId in the Object table. The complication is that it is quite possible that an Object will have more than one alert sent over its history. So, if the alertId is in the Object table, you must still search somehow the Alert table to find the full set of alerts.

Sounds like we need to introduce a new table for keeping the mapping
objectId --> alertIds (initially with two columns: objectId, alertId,
but I am sure we will find need for more columns in the future).
If there are no objections I'll add that to the pending-schema-changes
list

Jacek
_______________________________________________
LSST-data mailing list
[email protected]
http://www.lsstmail.org/mailman/listinfo/lsst-data

Reply via email to