server
server copied to clipboard
[sql] Add "original character name" column, populate it and free character name on character deletion
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
- [x] I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.
What does this pull request do?
Exactly what title sais. Notes:
- Migration automatically populates the new column with the current character name.
- Character creation now populates original account id column.
- Character deletion now renames character to "deleted" and stops setting original account id with current id. Thats handled in character creation directly.
Steps to test these changes
Create character. Delete it. Have name free to use again.
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.