File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
8181Starting 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
8383end 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
You can’t perform that action at this time.
0 commit comments