mirror of
https://github.com/yoncodes/BD2PS.git
synced 2026-08-05 06:12:14 +02:00
changed file section
This commit is contained in:
10
database/migrations/317_user_quest.sql
Normal file
10
database/migrations/317_user_quest.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "UserQuest" (
|
||||
"Index" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
"Uid" BIGINT NOT NULL,
|
||||
"QuestId" INTEGER NOT NULL,
|
||||
"PackId" INTEGER,
|
||||
"Status" INTEGER DEFAULT 0, -- 0 = not accepted, 1 = in progress, 2 = completed, 3 = reward claimed
|
||||
"Progress" INTEGER DEFAULT 0, -- quest progress (from questValue[0])
|
||||
"RewardClaimed" INTEGER DEFAULT 0, -- 0 = false, 1 = true
|
||||
"LastUpdate" BIGINT -- timestamp for daily resets, analytics, etc.
|
||||
);
|
||||
Reference in New Issue
Block a user