If I got it right, it's not about (uniqueness of) members (
membership_users
-table), but about user-specific permissions (
membership_userpermissions
-table).
In your favourite SQL editor (like
Adminer) you should check for any duplicate entries:
Code: Select all
SELECT `tableName`, `memberID`, count(1)
FROM `membership_userpermissions`
GROUP BY `tableName`, `memberID`
HAVING (count(1)>1)
If that query returns any records, those are duplicates. Obviously, that unique constraint cannot be created then.
BTW: did you notice the spelling of
memeberId
in
[email protected]
?
I don't know if you are using special user permissions (next to group permissions) at all. Those can be configured in admin area for every user:

- chrome_fbZEMIXTeu.png (16.02 KiB) Viewed 11649 times
Just in case you don't need such user-specific permissions, you may consider deleting from that table
membership_userpermissions
. Afterwards, index-creation should succeed.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readability
AppGini 25.10 + all AppGini Helper tools