feat(solution): update solution fields

This commit is contained in:
Vyacheslav1557 2025-04-01 18:01:20 +05:00
parent a27e311526
commit d1d8566b98
5 changed files with 163 additions and 82 deletions

View file

@ -107,7 +107,8 @@ CREATE TABLE IF NOT EXISTS solutions
state integer NOT NULL DEFAULT 1,
score integer NOT NULL DEFAULT 0,
penalty integer NOT NULL,
total_score integer NOT NULL DEFAULT 0,
time_stat integer NOT NULL DEFAULT 0,
memory_stat integer NOT NULL DEFAULT 0,
language integer NOT NULL,
updated_at timestamptz NOT NULL DEFAULT now(),
created_at timestamptz NOT NULL DEFAULT now(),