diff --git a/docs/guide/db-migrations.md b/docs/guide/db-migrations.md index 5e070c61d7..35f1ddf1ed 100644 --- a/docs/guide/db-migrations.md +++ b/docs/guide/db-migrations.md @@ -608,7 +608,7 @@ class m160328_041642_create_junction_table_for_post_and_tag_tables extends Migra ``` Since 2.0.11 foreign key column names for junction tables are fetched from table schema. -In case table isn't defined in schema, isn't set or is composite, default name `id` is used. +In case table isn't defined in schema, or the primary key isn't set or is composite, default name `id` is used. ### Transactional Migrations