I am having a bit a database issue. I am making a music review website and I have successfully been able to create and update reviews as a dummy user, but no matter what I try I am unable to delete them. The way I have my database set up is that I have two separate tables: profiles and reviews. everything in the profiles table works when it comes to create/update/delete, but for some reason not in the reviews table. the corresponding userID does populate with their review in the reviews table as well. I have even tried playing around with permissions and even if I set the role to Any, it won't work. Has anyone else encountered this issue?
here's my delete funtion: async function deleteReview(id){ try { await dbDeleteReview(id); await renderReviews(); } catch (error) { console.error('Delete review error:', error); alert('Failed to delete review: ' + error.message); } }
Recommended threads
- I lost my account, only thing i have is ...
So i had this project on appwrite for my web project called Islami zindagi, but i havent used it in a while, now i tried to login, but i could not remember the ...
- Appwrite Pro Cloud Subscription Cancella...
Hello, due to recent announcements, I want to cancel my subscription with Appwrite Cloud. However, I have deleted any organization and can now don't see any bil...
- Migration is bugged
I cannot migrate from version 1.6.1, 1.7.0 and 1.8.1 to cloud.