c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Database refactor #348

Closed rknop closed 3 months ago

rknop commented 3 months ago

Massive refactor to remove SQLAlchemy relationships. This touched nearly everything, so the PR is gigantic.

Changed ids from auto-incrementing bigint to UUID, so that we can generate relationships between objects and get object IDs without having to contact the database.

Also removed data products (sources, wcs, etc.) from the Image class. They were being stored both there and in DataStore, so now there's just one standard place to get them.

Many other things got touchups as I was making all of this work.