Page 1 of 1

DROP TABLE IF EXISTS `nyu_ttmod_tokens`

Posted: 07 Oct 2018, 18:53
by Stealthinger
Please make configurable option in TTMOD config.cs for DROP TABLE IF EXISTS `nyu_ttmod_tokens` command, if exist - DELETE ALL FROM THIS TABLE.
I'm used trigger on remove from this table for Player Full Online Statistic with calculation PlayerOnline time for current Game Year, ON DROP - trigger will be deleted.

On server quit(); command and on error and close server - table is not empty. But this I'm correct with own server mods.

Re: DROP TABLE IF EXISTS `nyu_ttmod_tokens`

Posted: 08 Oct 2018, 15:53
by Nyuton
It'll have to stay there for a while still. It's important to delete and recreate the table for everyone updating from TTmod 1.2 or earlier.