Commit Graph

3 Commits

Author SHA1 Message Date
Naios
352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 14:09:38 +00:00
DDuarte
c74b5e3924 DB: Move hotfixes_database.sql to the /dev folder (just like world) 2014-10-20 00:07:05 +01:00
DDuarte
6c11194e62 DB: Create hotfixes_database.sql file and update .travis.yml to import hotfixes
Note: hotfixes_database.sql will be empty until the next TDB release

And here's a friendly reminder that trinity now uses 4 DBs: characters, auth, world and hotfixes
2014-10-19 23:57:47 +01:00