Northeastern-Electric-Racing / Argos

Our full-stack data visualization tool
GNU Affero General Public License v3.0
1 stars 0 forks source link

[DB] - Runs being overwritten in cloud DB #242

Open jr1221 opened 2 days ago

jr1221 commented 2 days ago

Observed Behavior

Right now, sicne run ID is the primary key in the cloud, the run types are being overwritten on update.
This means when charybdis is run any run ID in the cloud with the same ID is then upserted, erasing valuable info about the run and ruining any relation links.

Expected Behavior

Runs are updated with overlapping IDs and it doesnt care, preverses relation to true ID.

Steps to Reproduce

  1. Upload a run the charybids
  2. Delete local DB, create run again
  3. Upload run again, note the old run is gone and replaced with new run.

Screenshots (as needed)

No response