Ashish
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
- 401Access to this resource is blocked.
Hello, I found that my project has been blocked. Could you please help me to understand what's wrong. I saw that it can be caused by bulk actions, if it's true,...
- Automatically generate different resolut...
Hey everyone! 👋 I’m looking for a way to **automatically generate different video resolutions** from an uploaded video. My goal is to build a **tool that prov...
- AppwriteException: User (role: guests) m...
Please how do i solve this issue? Below is my code export const createUser = async (username, email, password) => { try { const newAccount = await acco...