Achievements are now recorded in more detail such that they can be retrieved *as they were* at the time of earning
This commit is contained in:
@@ -195,6 +195,9 @@ const DB_INIT_TABLE = {
|
||||
achievement_tag VARCHAR NOT NULL,
|
||||
timestamp DATETIME NOT NULL,
|
||||
match VARCHAR NOT NULL,
|
||||
title VARCHAR NOT NULL,
|
||||
text VARCHAR NOT NULL,
|
||||
points INTEGER NOT NULL,
|
||||
UNIQUE(user_id, achievement_tag, match),
|
||||
FOREIGN KEY(user_id) REFERENCES user(id) ON DELETE CASCADE
|
||||
);`
|
||||
|
||||
Reference in New Issue
Block a user