mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00: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:
parent
7ebbb05934
commit
e9839d52c4
@ -1,4 +1,4 @@
|
|||||||
--!VERSION!1.4!ENDVERSION!
|
--!VERSION!1.5!ENDVERSION!
|
||||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||||
CREATE EXTENSION IF NOT EXISTS "lo";
|
CREATE EXTENSION IF NOT EXISTS "lo";
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ CREATE TABLE Targets (
|
|||||||
cpus text[],
|
cpus text[],
|
||||||
os text,
|
os text,
|
||||||
os_version jsonb,
|
os_version jsonb,
|
||||||
hostid int,
|
hostid bigint,
|
||||||
hostname text,
|
hostname text,
|
||||||
abi text,
|
abi text,
|
||||||
is_rooted boolean,
|
is_rooted boolean,
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE targets ALTER hostid TYPE BIGINT;
|
@ -17,3 +17,8 @@
|
|||||||
## 1.3
|
## 1.3
|
||||||
- Add missing "system_id" field from TargetInfo.
|
- Add missing "system_id" field from TargetInfo.
|
||||||
- Enable support for uploading Artifact that represent directories.
|
- Enable support for uploading Artifact that represent directories.
|
||||||
|
## 1.4
|
||||||
|
- Add "modules" field to TargetInfo to list the modules loaded by the target
|
||||||
|
during the run.
|
||||||
|
## 1.5
|
||||||
|
- Change the type of the "hostid" in TargetInfo from Int to Bigint.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user