From a4a3a5821e6688f225423659bfaf81df3e8f768f Mon Sep 17 00:00:00 2001 From: Mark Story Date: Tue, 9 Sep 2025 23:50:55 -0400 Subject: [PATCH] Minor improvement to help Making the length limited column example nullable gives a more complete example. --- src/Command/BakeMigrationCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/BakeMigrationCommand.php b/src/Command/BakeMigrationCommand.php index 23ecbdc7..829166fc 100644 --- a/src/Command/BakeMigrationCommand.php +++ b/src/Command/BakeMigrationCommand.php @@ -176,7 +176,7 @@ 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?. -* Length option must be enclosed in [], for example: name:string[100]. +* 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.