1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-07-11 09:34:09 +01:00

output_processor/postgres: Fix out of range for hostid

Change the field type of `hostid` as part of `TargetInfo` from `Int` to
Bigint to prevent some ids from exceeding the maximum value.
This commit is contained in:
Marc Bonnici
2019-10-23 14:14:12 +01:00
committed by setrofim
parent 7ebbb05934
commit e9839d52c4
3 changed files with 8 additions and 2 deletions

@ -1,4 +1,4 @@
--!VERSION!1.4!ENDVERSION!
--!VERSION!1.5!ENDVERSION!
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS "lo";
@ -82,7 +82,7 @@ CREATE TABLE Targets (
cpus text[],
os text,
os_version jsonb,
hostid int,
hostid bigint,
hostname text,
abi text,
is_rooted boolean,