aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2024-09-21 21:20:36 +0700
committerGitHub <[email protected]>2024-09-21 16:20:36 +0200
commitc15b48864ac6cd7a5cb1ba23e4e555c9cdfe1328 (patch)
treec07deae848dbf03928a5c688a5e74febd523a95a /docs
parentdfbf6c4fb755ae57f1c4b9ddc79898b192006188 (diff)
downloadfaker-c15b48864ac6cd7a5cb1ba23e4e555c9cdfe1328.tar.xz
faker-c15b48864ac6cd7a5cb1ba23e4e555c9cdfe1328.zip
docs: fix definition names in 'Company Name Affix files reorganized' section of migration guide (#3125)
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/upgrading.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md
index 9eae4269..155107b4 100644
--- a/docs/guide/upgrading.md
+++ b/docs/guide/upgrading.md
@@ -199,10 +199,10 @@ We renamed the files to match their actual content instead of their hypothetical
If you are using the public methods, no changes are required.
You only need to change your code if you are accessing the raw definitions e.g. in `faker.helpers.fake()`.
-| Before | After |
-| ------------------------- | -------------------------------------- |
-| `location.company.prefix` | `location.company.category` |
-| `location.company.suffix` | `location.direction.legal_entity_type` |
+| Before | After |
+| ---------------- | --------------------------- |
+| `company.prefix` | `company.category` |
+| `company.suffix` | `company.legal_entity_type` |
::: info Note
In some locales `prefix`es and `suffix`es might have been swapped, so the mapping might be wrong for those.