From 069bdd62732f3126c7a1f84c4791e2995e879a34 Mon Sep 17 00:00:00 2001 From: Evyn Date: Thu, 26 Oct 2023 08:24:39 +1000 Subject: [PATCH] Display more accurate infoAlertText on foreign key columns Update the displayed text to be more accurate, not mentioning primary keys specifically. --- .../systems/table-view/table-inspector/column/ColumnType.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathesar_ui/src/systems/table-view/table-inspector/column/ColumnType.svelte b/mathesar_ui/src/systems/table-view/table-inspector/column/ColumnType.svelte index 3b29cb72e8..562d354b60 100644 --- a/mathesar_ui/src/systems/table-view/table-inspector/column/ColumnType.svelte +++ b/mathesar_ui/src/systems/table-view/table-inspector/column/ColumnType.svelte @@ -35,7 +35,7 @@ return 'The data type of the primary key column is restricted and cannot be changed.'; } if (column.linkFk) { - return 'The data type of the foreign key column is restricted to the data type of the primary key column and cannot be changed.'; + return 'The data type of this column must match the referenced column and cannot be changed.'; } return ''; })();