Added privilege level start/end columns (#2328)

* Added privilege level start/end columns

Added 2 new columns to the users table to indicate when a users
privilege level date / time was recognised and when the privilege level
should end.

* Updated database header

Always forget about the database header file...

* Added priv level maintenance script

Added a bash maintenance script that can be run on a scheduled basis
that will demote privileged users that have the end times on the
accounts that are prior to the date/time the script is executed.

* Added donations table

Added donations table to db for tracking user donations
This commit is contained in:
woogerboy21 2016-12-30 16:45:28 -08:00 committed by GitHub
parent 62dc6dcb86
commit f7c8651d51
4 changed files with 44 additions and 2 deletions

View file

@ -9,7 +9,7 @@
#include "server.h"
#include "server_database_interface.h"
#define DATABASE_SCHEMA_VERSION 19
#define DATABASE_SCHEMA_VERSION 20
class Servatrice;