From d69596240ea645e79834f3fe5c9d9fc5239403f2 Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Thu, 8 Oct 2026 19:09:40 +0200 Subject: [PATCH] Document CURRENT_DATE and CURRENT_TIME column defaults in the 5.5 migration guide --- docs/en/appendices/5-5-migration-guide.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/en/appendices/5-5-migration-guide.md b/docs/en/appendices/5-5-migration-guide.md index dcd5c3ecdc..5171965675 100644 --- a/docs/en/appendices/5-5-migration-guide.md +++ b/docs/en/appendices/5-5-migration-guide.md @@ -26,6 +26,14 @@ Coming soon ## New Features +### Database + +- Schema dialects now support `CURRENT_DATE` and `CURRENT_TIME` as column + defaults on `date` and `time` columns. Each dialect emits its own syntax, + for example `DEFAULT (CURRENT_DATE)` on MySQL and + `DEFAULT CONVERT(DATE, GETDATE())` on SQL Server. Previously these values + were quoted as string literals. + ### TestSuite - `Cake\TestSuite\Fixture\DeleteStrategy` was added. This fixture strategy