* Adds a database versioning schema table
All it does right now is warn admins when the version in the db gets behind
the defined version in the compile options file
This also moves the db connection warning messages to the
CheckSchemaVersion proc in world, out of the roundid proc
as it's the first db proc called in a world round
* Update database_changelog.txt
* Update tgstation_schema.sql
* Update tgstation_schema_prefixed.sql
* Remove database specifiers from sql changelog entries.
Seriously, these default to the active database, and its not at all likely somebody will use the default name. /tg/ sure has hell doesn't.
* Remove database specifier from the schema
* Remove database specifiers from sql optimisations file
* Remove database specifier from the prefixed schema
* Add notes to CONTRIBUTING.md relating to schema changes
* adds round table to replace tacking some data in feedback table
* removes obsolete code for acolytes_survived
* uses a better query
* corrects var name
* uses actual sql queries
* adds commit column and connected checks before queries
set_client_age_from_db() and sync_client_with_db() have been merged.
New clients are now added to the user table in a separate query than the one used to update their details upon connection; their player and account age is then calculated with DATEDIFF.
The code and regex used in findJoinDate() was changed a bit.
* combines admin and player pop count and sanitizes death queries
* renames proc
* removes proc call to sql_poll_admins
* add tox- clone- and staminaloss to death table
* adds ip and port to legacy_population
* null ip and cid handling for bans
* sans colons
* adds default sql indexes and table optimisations
* fixes warnings
* edits to text and better update queries
* wrong table
* superior copypaste skills
* who has
* names
* that long
* add inet
* fix for badmins giving 2 billion brainloss
* fixes rank name and adds sanitizing
* Adds the map name and server to the death report.
Removed the `sql_report_cyborg_death()`, it was the same as `sql_report_death`.
* Changes the SQL schemas.