Add BugHunter clean solve replay variants
mindflux-ci / build (push) Successful in 22s

This commit is contained in:
AliceDarkest
2026-07-13 21:55:07 +02:00
parent 6d243c8987
commit 3eef7cdb40
11 changed files with 101 additions and 27 deletions
@@ -0,0 +1,11 @@
CREATE TABLE bughunter_hunt_progress (
id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
username VARCHAR(100) NOT NULL,
hunt_slug VARCHAR(150) NOT NULL,
solved_clean BOOLEAN NOT NULL DEFAULT FALSE,
variant_index INT NOT NULL DEFAULT 0,
solved_at TIMESTAMP,
CONSTRAINT uq_bughunter_progress_user_hunt UNIQUE (username, hunt_slug)
);
CREATE INDEX idx_bughunter_progress_user ON bughunter_hunt_progress(username);