i have this index:
"indexes": [
{
"key": "single-user-per-event",
"type": "unique",
"status": "available",
"columns": [
"eventID",
"userID"
],
"orders": [
"asc",
"asc"
]
},
]
but for some reason i can continue creating multiple arrow with duplicate userID and eventID and appwrite dosen't get my an error...
as you can see in the picture 2, there're repeated userID and eventID in many rows
As I can see from the first screenshot you've shared, you haven't defined the length for the eventID and userID i.e. it is 0. Maybe that could be the possible reason behind the behaviour you're experiencing
So try updating the length to something like 255 for both
mmm apparently was a tremendous bug
Recommended threads
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...