Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Fix updating kits failing when going through upsert flow #331

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

jacobsickels
Copy link
Contributor

The issue here was that we where connecting kit options in the upsert,
without removing the existing options. This was causing duplicate options
on the specific slot keys.

We'll be looking into updating the db schema to index on

kitbase id, option id, and slotkey

so that the db will yell at us if something like this happens in the future.

The issue here was that we where connecting kit options in the upsert,
without removing the existing options. This was causing duplicate options
on the specific slot keys.

We'll be looking into updating the db schema to index on

```
kitbase id, option id, and slotkey
```

so that the db will yell at us if something like this happens in the future.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants