1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-04 03:56:24 -07:00

Implement Staff sql funcs

This commit is contained in:
comraderat 2020-05-04 13:46:13 +02:00
parent 704d9055b0
commit 2bf2d4aa35
5 changed files with 25 additions and 20 deletions

View file

@ -110,7 +110,7 @@ CREATE TABLE DBPREFIXstaff(
password_checksum VARCHAR(120) NOT NULL,
global_rank INT,
added_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
last_login TIMESTAMP NOT NULL,
last_login TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
is_active BOOL NOT NULL DEFAULT TRUE,
UNIQUE(username)
);