Add auto-repeat quest and memoir auto-sell
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled

This commit is contained in:
Ilya Groshev
2026-05-28 10:48:26 +03:00
parent c961fde8ac
commit 63df7d7055
19 changed files with 413 additions and 34 deletions
@@ -0,0 +1,17 @@
-- +goose Up
CREATE TABLE user_quest_auto_orbit (
user_id INTEGER NOT NULL PRIMARY KEY REFERENCES users(user_id),
quest_type INTEGER NOT NULL DEFAULT 0,
chapter_id INTEGER NOT NULL DEFAULT 0,
quest_id INTEGER NOT NULL DEFAULT 0,
max_auto_orbit_count INTEGER NOT NULL DEFAULT 0,
cleared_auto_orbit_count INTEGER NOT NULL DEFAULT 0,
last_clear_datetime INTEGER NOT NULL DEFAULT 0,
latest_version INTEGER NOT NULL DEFAULT 0,
accumulated_drops_json TEXT NOT NULL DEFAULT '[]'
);
INSERT INTO user_quest_auto_orbit (user_id) SELECT user_id FROM users;
-- +goose Down
DROP TABLE IF EXISTS user_quest_auto_orbit;