tgstation/-tg-station — pull request #4398 by RemieRichards (2014-08-12 13:45:19+00:00)
Title: Suicides and Logouts are now stored on the Database [NEEDS TESTING]

Related to https://github.com/tgstation/-tg-station/pull/4306
Rock suggested these be added to the Database.
Rock is extremely busy so I attempted it myself, this is the result.

Disclaimer:
- SQL is not a language I am brilliant with
- I was unable to test ANY of this due to my computer refusing to setup the SQL servers (even localhost) required to test

DB_add_logout_suicide_record(var/typeLS) is setup to work on Logout and Suicide, using the 2 defines setup for this (They are strings as they are stored in the table for DB_access_logouts_suicides(var/mob/M) and admin use)

DB_access_logouts_suicides(var/mob/M) is a WIP proc and has not been setup to be used anywhere.
Due to lack of SQL knowledge it is cobbled together to the best of my abilities, hence my not using it until someone skilled/knowledgeable can confirm it's safe/functional