From 876c17f824da2fc75b7fa824ae2c73223f3ff684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Mi=C4=8Dko?= Date: Wed, 29 Oct 2025 11:33:16 +0100 Subject: [PATCH] Update migration guide for primary key column rules Clarify the behavior of primary key columns in dataframely v2. --- docs/guides/migration/v1-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/migration/v1-v2.md b/docs/guides/migration/v1-v2.md index 7645f1f..5357cce 100644 --- a/docs/guides/migration/v1-v2.md +++ b/docs/guides/migration/v1-v2.md @@ -32,7 +32,7 @@ nullability now becomes opt-in. ### Primary key columns may not be nullable While dataframely v1 merely emitted a warning, dataframely v2 now raises an exception if a primary key is designated -as non-nullable. This aligns dataframely, for example, with SQL where primary key columns may not be nullable. +as nullable. This aligns dataframely, for example, with SQL where primary key columns may not be nullable. ### Schema rules are now defined as classmethods