Skip to content

Commit

Permalink
Updated DatabaseSetup
Browse files Browse the repository at this point in the history
Added UNIQUE Constraint to CharityVantiy UUID, as CharityVanity got a new entry (with the same UUID), everytime the scraper was run.
  • Loading branch information
roaraf committed Apr 18, 2026
1 parent 8ed9902 commit fa3e976
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ FOREIGN KEY (`User_UUID_User`)
`logoURL` TEXT NULL,
`key_values` TEXT NULL,
`logoBLOB` MEDIUMBLOB NULL,
CONSTRAINT `unique_UUID_charity` UNIQUE (`UUID_charity`),
INDEX `fk_CharityVanity_Charities1_idx` (`UUID_charity` ASC) VISIBLE,
CONSTRAINT `fk_CharityVanity_Charities1`
FOREIGN KEY (`UUID_charity`)
Expand Down

0 comments on commit fa3e976

Please sign in to comment.