Skip to content

Commit

Permalink
fix: fix db migration to v8, changes key name to cpu_load
Browse files Browse the repository at this point in the history
  • Loading branch information
spacehamster87 committed Jul 11, 2024
1 parent a491289 commit e14d6a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ UPDATE job SET footprint = '{"flops_any_avg": 0.0}';
UPDATE job SET footprint = json_replace(footprint, '$.flops_any_avg', job.flops_any_avg);
UPDATE job SET footprint = json_insert(footprint, '$.mem_bw_avg', job.mem_bw_avg);
UPDATE job SET footprint = json_insert(footprint, '$.mem_used_max', job.mem_used_max);
UPDATE job SET footprint = json_insert(footprint, '$.load_avg', job.load_avg);
UPDATE job SET footprint = json_insert(footprint, '$.cpu_load_avg', job.load_avg);
ALTER TABLE job DROP flops_any_avg;
ALTER TABLE job DROP mem_bw_avg;
ALTER TABLE job DROP mem_used_max;
Expand Down

0 comments on commit e14d6a8

Please sign in to comment.