Commit graph

30 commits

Author SHA1 Message Date
Timo Smit
b4b2b9d2b0 Fixed missing table existence checks 2019-01-02 10:15:24 +01:00
Timo Smit
e66d78bd35 Added database config table and schema detection (refs #73)
* only used to store schema version for the moment.
2019-01-01 19:49:38 +01:00
Timo Smit
44f78fb1d3 ACL system improvements (refs #69)
* renamed 'roles' to 'permissions'
* added player permissions
* added functions to manipulate shrubbot files
2018-12-31 11:03:48 +01:00
Timo Smit
3927788b66 Updated MySQL scripts to make use of UTF-8 2017-03-21 18:54:33 +01:00
Timo Smit
a767d7d82a Updated database (upgrade) scripts
* removed level history
* reordering based on constraints
* fixed history
2017-03-17 14:46:19 +01:00
Timo Smit
ab5403da14 Removed !listlevels and moved functionality into !showhistory 2017-03-17 14:05:43 +01:00
Timo Smit
78213fbc78 Updated and fixed upgrade scripts from 1.1.0
* SQLite should now be in correct order
* MySQL added
2017-03-17 13:36:12 +01:00
Timo Smit
3ecbb438cd Updated upgrade scripts from 1.1.0
* renamed scripts
* sqlite should now be consistent with a new database
2017-03-17 12:44:51 +01:00
Timo Smit
88512ebca7 Renamed SQL update scripts 2017-03-17 10:33:29 +01:00
Timo Smit
f9b141e675 Updated MySQL database script
* fixed consistency with SQLite
* added tables that were already present in SQLite
2017-03-17 10:23:41 +01:00
Timo Smit
0d5e1ceaca Fixed lastseen and seen NULL in SQLite install script 2017-02-27 21:56:56 +01:00
Timo Smit
fafc53710b Added connection count and last connection information 2017-02-17 12:08:42 +01:00
Timo Smit
a3e6241081 Fix C&P error in 2c848f0 2017-02-07 15:09:58 +01:00
Timo Smit
2c848f0237 Added cointoss role to SQL script 2017-02-07 10:46:33 +01:00
Timo Smit
7e5c009484 Updated SQLite script with more levels and roles (refs #62, #69)
* also added transactions to improve performance
2017-01-21 16:06:25 +01:00
Timo Smit
dcb2859378 Fixed minor bugs 2017-01-17 12:02:03 +01:00
Timo Smit
44c10910e1 Fixed more inconcistencies between database script + lua script 2017-01-16 17:45:40 +01:00
Timo Smit
0001bc7a12 Fixed wrongly named column 2017-01-16 17:34:06 +01:00
Timo Smit
9d4aaa7a62 Revert "PRIMARY KEY consistency"
This reverts commit c7319028b6.
2017-01-15 11:51:19 +01:00
Timo Smit
c7319028b6 PRIMARY KEY consistency 2017-01-14 15:15:36 +01:00
Timo Smit
8977ba41cb Implemented basic ACL functionality (issue #69) 2017-01-13 18:59:14 +01:00
Timo Smit
b2a5fb53fe SQLite update
Contains update for new level setup
2017-01-12 21:12:23 +01:00
Timo Smit
a9004cdb21 SQLite script update (issue #55)
Contains create statements for mute, bans and history.
2017-01-12 21:08:07 +01:00
Timo Smit
913545af00 Removed some upgrade stuff for pre-1.0.0 (old rows will be deleted) 2016-09-04 18:22:26 +02:00
Timo Smit
730db32608 Renamed MySQL database scripts for consistency 2016-08-26 10:04:28 +02:00
Timo Smit
32bf814562 Removed pre-1.0.2 update scripts 2016-08-07 19:10:47 +02:00
Timo Smit
ea90a08989 Use separate select statement instead of hardcoding database name 2016-08-07 19:09:08 +02:00
Timo Smit
ef8d478cf9 Added SQLite support (issue #23) 2016-08-05 22:15:58 +02:00
Timo Smit
5de6be4e12 Renamed database tables/indexes/keys to increase consistency 2016-03-09 11:32:57 +01:00
Timo Smit
ecddc1dd04 1.0.0 2016-02-13 12:19:37 +01:00