If you are an extension developer and your extension also stores the user ID in the database and should also be corrected when a user is deleted, you are welcome to make a pull request.
The thing to keep in mind is:
- The user ID must be an integer in a separate column of your table.
- Each row should have a unique ID.
Add a file with a unique name in one of the following paths:
/src/plugins/system/jtchuserbeforedel/src/Extension/onlyJoomla4
/src/plugins/system/jtchuserbeforedel/src/Extension/onlyJoomla3
/src/plugins/system/jtchuserbeforedel/src/Extension/all
The class must implement my interface 'JtChUserBeforeDelInterface'.
Just take one of the existing extensions in /src/plugins/system/jtchuserbeforedel/src/Extension/all
as a template.
Please test the functionality before you make a pull request, since I don`t know your extension/database table I can only check if the source code fits but not the function.
Thanks.