Skip to content

Conversation

@mikigoalie
Copy link

Updated the 'deleted' column in the characters table from DATE to DATETIME in install.sql for more precise deletion tracking. Modified DeleteCharacter to set the deleted timestamp using CURRENT_TIMESTAMP() instead of curdate().

Should make sense to save timestamp rather than just date.

E: This is reopen of #29 which was closed due to fork being deleted

Updated the 'deleted' column in the characters table from DATE to DATETIME in install.sql for more precise deletion tracking. Modified DeleteCharacter to set the deleted timestamp using CURRENT_TIMESTAMP() instead of curdate().
@feelfreetofee
Copy link

It's a good idea, but you also need to use the the TIMESTAMP datatype in the column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants