Skip to content

Commit a2f3daa

Browse files
committed
fixup! RHINENG-21214: load data into the new tables
1 parent d3cf891 commit a2f3daa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database_admin/migrations/142_split_system_platform.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ WHERE sp.stale = false;
536536
ALTER TABLE IF EXISTS system_patch
537537
ADD PRIMARY KEY (rh_account_id, system_id),
538538
ADD FOREIGN KEY (rh_account_id, template_id) REFERENCES template (rh_account_id, id),
539-
ADD FOREIGN KEY (system_id, rh_account_id) REFERENCES system_inventory (id, rh_account_id);
539+
ADD FOREIGN KEY (rh_account_id, system_id) REFERENCES system_inventory (rh_account_id, id);
540540

541541

542542

0 commit comments

Comments
 (0)