Skip to content

Commit 192d760

Browse files
author
Paweł Brzozowski
committed
Fixed typos
1 parent 034234a commit 192d760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ You can generate multiple migrations for many tables at once by separating the n
7979
php yii migration/create table_name1,table_name2,table_name3
8080

8181
Starting from version 3.4/2.7 creating multiple table migrations at once forces the proper migration order based on the
82-
presence of the foreing keys. When tables are crossreferenced the additional foreing keys migration is generated at the
82+
presence of the foreign keys. When tables are cross-referenced the additional foreign keys migration is generated at the
8383
end of default generation.
8484

8585
## Updating migration
@@ -109,7 +109,7 @@ Starting with yii2-migration v2.0 it is possible to generate updating migration
109109
| `tableOptionsInit` | `O` | String rendered in the create migration template to initialize table options. _default:_ `$tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE=InnoDB'; }`
110110
| `tableOptions` | `o` | String rendered in the create migration template for table options. _default:_ `$tableOptions`
111111
| `excludeTables` | | List of tables that should be skipped for *-all actions. _default:_ `[]`
112-
| `templateFileForeignKey` | `K` | Template file for generating create foreing keys migrations. _default:_ `'@bizley/migration/views/create_fk_migration.php'`
112+
| `templateFileForeignKey` | `K` | Template file for generating create foreign keys migrations. _default:_ `'@bizley/migration/views/create_fk_migration.php'`
113113

114114
[1] Remember that with different database types general column schemas may be generated with different length.
115115

0 commit comments

Comments
 (0)