Create user with custom ID
I want to use custom IDs for my users.
Currently I don't see an easy way to do this.
My approach would be creating a user and then changing all his IDs in the database to my custom value.
The problem is that I can't really keep track on which tables I need to edit (in the future) and also there might be some issues with "cached" user data at runtime.
Therefore I'd like to have a way to create a user with a custom ID.
Something like adding an $id
parameter to the createChild()-method and then passing this to the initial insert into the user table should do the trick, right?