db: forgot to update schema version

This commit is contained in:
Kirill Zhukov 2023-03-10 19:44:54 +01:00
parent 3ed0dcdd78
commit 4c843a27c6
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@
from enum import IntEnum
# supported schema version
DB_SCHEMA_VER = 1
DB_SCHEMA_VER = 2
# ENUMS

View File

@ -10,4 +10,8 @@ ADD CONSTRAINT web_node_stats_unique UNIQUE (build_task_id, stat_name_id);
ALTER TABLE build_node_stats
ADD CONSTRAINT build_node_stats_unique UNIQUE (build_task_id, stat_name_id);
UPDATE schema_version
SET version = 2;
COMMIT;