Defaults to no prefix now.

Also fixes a few things i forgot (like actually changing the schema)
This commit is contained in:
MrStonedOne
2014-09-19 21:54:48 -07:00
parent e21ed011af
commit 94f11b6c1f
7 changed files with 403 additions and 67 deletions

View File

@@ -1,3 +1,15 @@
19 September 2014, by MrStonedOne
Removed erro_ from table names. dbconfig.txt has a option allowing you to change the prefix used in code, defaults to "erro_" if left out for legacy reasons.
If you are creating a new database and want to change the prefix, simply find and replace SS13_ to what ever you want (including nothing) and set the prefix value
Two schema files are now included, one with prefixes and one without.
If you have an existing database, and you want to rid your database of erros, you will have to rename all of the tables. A bit sql is included to do just that in errofreedatabase.sql Feel free to find and replace the prefix to what ever you want (or nothing)
----------------------------------------------------
4 November 2013, by Errorage
The column 'deleted' was added to the erro_library table. If set to anything other than null, the book is interpreted as deleted.
@@ -14,11 +26,4 @@ UPDATE erro_library SET deleted = 1 WHERE id = someid
----------------------------------------------------
19 September 2014, by MrStonedOne
Removed erro_ from table names, replaced with SS13_. dbconfig.txt has a option allowing you to change the prefix used in code, defaults to "erro_" if left out for legacy reasons.
If you are creating a new database and want to change the prefix, simply find and replace SS13_ to what ever you want and set the prefix value
If you have an existing database, and you want to rid your database of erros, you will have to rename all of the tables. A bit sql is included to do just that in errofreedatabase.sql