Closed blushi closed 3 months ago
Currently, as soon as a user tries to upload the same file twice, it will fail because this results in the same file IRI being added to the upload table which has the IRI as PK. We should just use a regular UUID as PK.
ref: https://www.notion.so/regennetwork/Engineering-Weekly-Architecture-2024-03-11-c1706e11d5c74fb5848d6f817bf4ca79
Currently, as soon as a user tries to upload the same file twice, it will fail because this results in the same file IRI being added to the upload table which has the IRI as PK. We should just use a regular UUID as PK.
ref: https://www.notion.so/regennetwork/Engineering-Weekly-Architecture-2024-03-11-c1706e11d5c74fb5848d6f817bf4ca79