Skip to content

Commit aa33bf3

Browse files
committed
fixup! RHINENG-21214: update create_schema.sql
1 parent be01b5b commit aa33bf3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

database_admin/migrations/142_split_system_platform.up.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ CREATE TABLE IF NOT EXISTS system_inventory
2121
tags JSONB NOT NULL,
2222
created TIMESTAMPTZ NOT NULL,
2323
workspaces TEXT ARRAY CHECK (array_length(workspaces,1) > 0 or workspaces is null), -- group IDs from system_platform.groups
24-
stale_timestamp TIMESTAMPTZ NOT NULL,
25-
stale_warning_timestamp TIMESTAMPTZ NOT NULL,
26-
culled_timestamp TIMESTAMPTZ NOT NULL,
24+
stale_timestamp TIMESTAMPTZ,
25+
stale_warning_timestamp TIMESTAMPTZ,
26+
culled_timestamp TIMESTAMPTZ,
2727
os_name TEXT CHECK (NOT empty(os_name)),
2828
os_major SMALLINT,
2929
os_minor SMALLINT,

database_admin/schema/create_schema.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,9 +673,9 @@ CREATE TABLE IF NOT EXISTS system_inventory
673673
tags JSONB NOT NULL,
674674
created TIMESTAMPTZ NOT NULL,
675675
workspaces TEXT ARRAY CHECK (array_length(workspaces,1) > 0 or workspaces is null), -- group IDs from system_platform.groups
676-
stale_timestamp TIMESTAMPTZ NOT NULL,
677-
stale_warning_timestamp TIMESTAMPTZ NOT NULL,
678-
culled_timestamp TIMESTAMPTZ NOT NULL,
676+
stale_timestamp TIMESTAMPTZ,
677+
stale_warning_timestamp TIMESTAMPTZ,
678+
culled_timestamp TIMESTAMPTZ,
679679
os_name TEXT CHECK (NOT empty(os_name)),
680680
os_major SMALLINT,
681681
os_minor SMALLINT,

0 commit comments

Comments
 (0)