diff --git a/src/Command/BakeMigrationCommand.php b/src/Command/BakeMigrationCommand.php index e7bdc685..14fbf778 100644 --- a/src/Command/BakeMigrationCommand.php +++ b/src/Command/BakeMigrationCommand.php @@ -177,12 +177,12 @@ public function getOptionParser(): ConsoleOptionParser * The types are the abstract database column types in CakePHP. * The ? value indicates if a column is nullable. - e.x. role:string?. + e.g. role:string?. * Length option must be enclosed in [], for example: name:string?[100]. * The index attribute can define the column as having a unique key with unique or a primary key with primary. * Use references type to create a foreign key constraint. - e.x. category_id:references (auto-infers table as 'categories') + e.g. category_id:references (auto-infers table as 'categories') or category_id:references:custom_table to specify the referenced table. Examples