Skip to content

ACTUALL FIX: Forget about previous commits. #71

Merged
merged 1 commit into from
Apr 15, 2026

Conversation

apbaluna
Copy link
Collaborator

@apbaluna apbaluna commented Apr 15, 2026

This is the fix: When creating charities a Random UUID. When running it again same API-object turned into charities will have different UUID (in APICharityScraper + Charity), breaking foreign key contraint. This is why when there are no tables it will work (cuz it gets inserted for the first time) and doesnt work on the second (now inserting the same api data, with different UUID).

…ating charities a *Random UUID*. When running it again same API-object turned into charities will have different UUID, breaking foreign key contraint. This is why when there are no tables it will work (cuz it gets inserted for the first time) and doesnt work on the second (now inserting the same api data, with different UUID).
@apbaluna apbaluna merged commit ac927d2 into develop Apr 15, 2026
1 check failed
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant