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
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- Provider not enabled in Dotnet project
# Bug Report: Appwrite .NET SDK `CreateOAuth2Token` → `project_provider_disabled` ## Issue Using **Appwrite .NET SDK (v3.1.0)**, `CreateOAuth2Token` for Googl...
- Stuck on project restoration after inact...
Hey there! My project was paused due to inactivity today. I tried to restore it, but it's completely stuck on the restoration process. Could someone please tak...