syncstorage-rs icon indicating copy to clipboard operation
syncstorage-rs copied to clipboard

[Postgres] Inserts into bsos and batches fail due to foreign key constraint

Open data-sync-user opened this issue 2 weeks ago • 0 comments

Both the bsos and batches have a foreign key that REFERENCES user_collections (user_id, collection_id) . The code currently does not insert the referenced record before trying to insert the bsos or batches.

┆Issue is synchronized with this Jira Bug

data-sync-user avatar Dec 15 '25 16:12 data-sync-user