Someone did a mistake while creating his account and i want to delete the account from database so he can create a new account with the same username
Try it and tell us what happens!
/s
Honestly in my experience messing with databases in production is not a good idea. I recommend making a test instance to see what happens. The alternative is to backup the database and try it. My guess is that it will work, and there shouldn’t be a huge problem from it, but there might be some strange problems that pop up from it.
Good idea i always test in production :) yeah i will have to figure it out myself or the user just takes a different name.
I had to do that earlier, and haven’t had any issues. Just make sure you remove them from both
person
andlocal_user
tables. They’re linked onperson.id
=local_user.person_id
.I exported the user’s row data from both tables before deleting them just to be cautious.
thanks for the info