i created two test accounts with sensless names, created character and logged in. after i saw that it worked, i deleted the accounts in the database login.
i created then two new accounts and logged in. when i was in the character selection i was the chars of the accounts with the sensless names.because i only deleted the accounts.
when i looked up into the tables i saw that you dont use constraints bewteen the keys. is there any restriction in rathena that constraints cant be used? otherwise i would setup my databse with some constraints i think who are usefull.
example: on cascade and delete for account --> character. when an accoiunts gets deleted, delete all entrys who are combined with this accountid.
Question
Tepoo
Hey guys,
i had the following problem on my server.
i created two test accounts with sensless names, created character and logged in. after i saw that it worked, i deleted the accounts in the database login.
i created then two new accounts and logged in. when i was in the character selection i was the chars of the accounts with the sensless names.because i only deleted the accounts.
when i looked up into the tables i saw that you dont use constraints bewteen the keys. is there any restriction in rathena that constraints cant be used? otherwise i would setup my databse with some constraints i think who are usefull.
example: on cascade and delete for account --> character. when an accoiunts gets deleted, delete all entrys who are combined with this accountid.
greetings
Tepoo
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.