Posts by Matheus Dias • 1 point
1 post
-
0
votes2
answers635
viewsA: Unhandledpromiserejectionwarning: Sequelizeforeignkeyconstrainterror
I had this problem and solved as follows, when you are passing the provider_id or user_id look in the users table if these ids exist because the tables are related and not how to add in the table…