From 95845945a6adf7ea674f7b80396f562199da1713 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Feb 2026 10:36:47 +0000
Subject: [PATCH 1/2] Initial plan
From e9c4c2544881a0b87a95f4b069b174bae75225a8 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Feb 2026 10:39:26 +0000
Subject: [PATCH 2/2] Fix NO_ZERO_DATE issue: allow NULL on time_start and
time_end TIMESTAMP fields
Co-authored-by: Mark-H <312944+Mark-H@users.noreply.github.com>
---
_build/schema/versionx.mysql.schema.xml | 4 ++--
.../versionx/model/versionx/mysql/vxdelta.map.inc.php | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/_build/schema/versionx.mysql.schema.xml b/_build/schema/versionx.mysql.schema.xml
index 6879990..6acd39f 100644
--- a/_build/schema/versionx.mysql.schema.xml
+++ b/_build/schema/versionx.mysql.schema.xml
@@ -45,8 +45,8 @@
Deltas have a start and end time, because a delta may be the result of different
deltas that were merged.
-->
-
-
+
+
diff --git a/core/components/versionx/model/versionx/mysql/vxdelta.map.inc.php b/core/components/versionx/model/versionx/mysql/vxdelta.map.inc.php
index 00e5a8d..e33e25b 100644
--- a/core/components/versionx/model/versionx/mysql/vxdelta.map.inc.php
+++ b/core/components/versionx/model/versionx/mysql/vxdelta.map.inc.php
@@ -84,13 +84,13 @@
array (
'dbtype' => 'timestamp',
'phptype' => 'timestamp',
- 'null' => false,
+ 'null' => true,
),
'time_end' =>
array (
'dbtype' => 'timestamp',
'phptype' => 'timestamp',
- 'null' => false,
+ 'null' => true,
),
),
'indexes' =>