Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions database_admin/migrations/142_split_system_platform.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ INSERT INTO system_inventory (
stale_timestamp,
stale_warning_timestamp,
culled_timestamp
FROM system_platform sp
WHERE sp.stale = false;
FROM system_platform sp;

SELECT setval('system_inventory_id_seq', (SELECT MAX(id) FROM system_inventory));

Expand Down Expand Up @@ -578,8 +577,7 @@ INSERT INTO system_patch SELECT
applicable_advisory_bug_count_cache,
applicable_advisory_sec_count_cache,
template_id
FROM system_platform sp
WHERE sp.stale = false;
FROM system_platform sp;

do $$ begin RAISE NOTICE 'Data loaded into system_patch'; end $$;

Expand Down
Loading