Can't insert uuid value in uuid foreign key
I'm trying to create a new row in my database, I have just two tables, a table called recollection and another called image. You guys can see the table schemas and the code snippet in the images.
I'm just trying to create a new recollection after creating 3 images with a transaction, but I receive the error:
I already checked if the id is ok by logging it, and it is.
PS: the extra values i'm passing in recollections insert exists, I hid them in the schema to fit in the print screen
3 Replies