Implement Tower accumulation reward claiming

This commit is contained in:
Ilya Groshev
2026-05-16 20:51:44 +03:00
parent 1dc5b8fd7c
commit 25cbe8635f
13 changed files with 272 additions and 66 deletions
@@ -0,0 +1,11 @@
-- +goose Up
CREATE TABLE user_event_quest_tower_accumulation_rewards (
user_id INTEGER NOT NULL REFERENCES users(user_id),
event_quest_chapter_id INTEGER NOT NULL,
latest_reward_receive_quest_mission_clear_count INTEGER NOT NULL DEFAULT 0,
latest_version INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY (user_id, event_quest_chapter_id)
);
-- +goose Down
DROP TABLE IF EXISTS user_event_quest_tower_accumulation_rewards;