
The attribute is not seems active, so I delete it and recreate the attribute by the same name "userId" but end up getting this error: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'userId'
TL;DR
Developers are unable to add an attribute due to an inactive attribute issue. After deleting and recreating the attribute with the same name 'userId,' an error arises indicating a duplicate column name. This error occurs because the column 'userId' already exists in the database. The solution is to check the database schema and ensure the attribute is not already present before attempting to recreate it.Recommended threads
- New user welcome mail issue
I made a function to send a welcome email to new users, while for email otp login, it is working fine. The issue is with password login, I need only verified us...
- CANNOT DELETE DOCUMENT
I suddenly cannot delete any documents in my organization collection. No matter I use SDK or delete it manually in appwrite console platform, it still cannot be...
- How to render .mov gif files from an App...
So I've read the support thread and the guides about file uploads. But I'm still having trouble rendering my .mov files to my React.js front end using the app...
