From 712865a9d64f7c6c7b1bed3d9974c8f59b724b31 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 4 Nov 2025 17:09:20 +0000
Subject: [PATCH 1/2] Initial plan
From 6d5c7e046278c72f70d2e3c338883e4584d1eb82 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 4 Nov 2025 17:12:08 +0000
Subject: [PATCH 2/2] Fix abbreviation: change 'e.x.' to 'e.g.' in help text
Co-authored-by: dereuromark <39854+dereuromark@users.noreply.github.com>
---
src/Command/BakeMigrationCommand.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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