mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-22 12:12:18 -05:00
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