syncstorage-rs
syncstorage-rs copied to clipboard
[Postgres] Inserts into bsos and batches fail due to foreign key constraint
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