
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
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
- Is p-limit compatible with Appwrite?
I have a function that makes asynchronous calls to different Appwrite collections. This is how I make the call: ```js await Promise.allSettled([ ...
- Realtime stuck on pending
I'm hosting appwrite on a server where there's already nginx running and you can see how it's config looks for appwrite on attachted screenshot. I'm not getting...
