ALBS-1026: add statistics for each build_task step #1
@ -3,7 +3,7 @@
|
|||||||
from enum import IntEnum
|
from enum import IntEnum
|
||||||
|
|
||||||
# supported schema version
|
# supported schema version
|
||||||
DB_SCHEMA_VER = 1
|
DB_SCHEMA_VER = 2
|
||||||
|
|
||||||
|
|
||||||
# ENUMS
|
# ENUMS
|
||||||
|
@ -10,4 +10,8 @@ ADD CONSTRAINT web_node_stats_unique UNIQUE (build_task_id, stat_name_id);
|
|||||||
ALTER TABLE build_node_stats
|
ALTER TABLE build_node_stats
|
||||||
ADD CONSTRAINT build_node_stats_unique UNIQUE (build_task_id, stat_name_id);
|
ADD CONSTRAINT build_node_stats_unique UNIQUE (build_task_id, stat_name_id);
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE schema_version
|
||||||
|
SET version = 2;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
Loading…
Reference in New Issue
Block a user