mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
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:
parent
18a7a79f14
commit
16e903d4c6
2 changed files with 96 additions and 27 deletions
|
@ -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
|
||||
);`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue