Delete Orpaned Player #17

Closed
opened 4 years ago by Burathar · 1 comments
Burathar commented 4 years ago
Owner

Add a DateTime field to Player called 'has_logged_in' or the like. When removing a player from a game, or deleting a game, check if this field is null. If it is, delete the player, if it isn't, dont.

Add a DateTime field to Player called 'has_logged_in' or the like. When removing a player from a game, or deleting a game, check if this field is null. If it is, delete the player, if it isn't, dont.
Burathar added the
enhancement-should
label 4 years ago
Poster
Owner

quickfix: to delete all orphaned players: call Player.delete_orphans() manually

quickfix: to delete all orphaned players: call Player.delete_orphans() manually
Burathar added a new dependency 4 years ago
Burathar closed this issue 4 years ago
Sign in to join this conversation.
Loading…
There is no content yet.