Skip to content

Commit 26bdb46

Browse files
committed
fixup! RHINENG-21214: update create_schema.sql
1 parent a2f3daa commit 26bdb46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database_admin/schema/create_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ CREATE TABLE IF NOT EXISTS system_patch
10451045
template_id BIGINT,
10461046
PRIMARY KEY (rh_account_id, system_id),
10471047
FOREIGN KEY (rh_account_id, template_id) REFERENCES template (rh_account_id, id),
1048-
FOREIGN KEY (system_id, rh_account_id) REFERENCES system_inventory (id, rh_account_id)
1048+
FOREIGN KEY (rh_account_id, system_id) REFERENCES system_inventory (rh_account_id, id)
10491049
) PARTITION BY HASH (rh_account_id);
10501050

10511051
SELECT create_table_partitions('system_patch', 16,

0 commit comments

Comments
 (0)