Files
vikunja/pkg/db
kolaente 0ad2e70b3a fix(dump): parse dumped time strings so restore works on MySQL and MariaDB
Dumps store datetime columns as RFC3339 strings (e.g. 2026-03-27T11:27:01Z).
On restore these were passed verbatim to the database, which MySQL and
MariaDB reject with 'Error 1292 Incorrect datetime value'. Parse them into
time.Time so the driver formats them for the target database.

Also guard against a nil pointer dereference when a dump contains a column
that no longer exists in the current schema - such columns are now dropped
with a warning instead of crashing.

Fixes https://github.com/go-vikunja/vikunja/issues/3375
2026-07-30 21:15:19 +02:00
..