SIGN IN SIGN UP
juanfont / headscale UNCLAIMED

An open source, self-hosted implementation of the Tailscale control server

0 0 43 Go

db: backfill zero-time node expiry to NULL

Versions before 0.28 persisted a pointer to a zero time.Time as
'0001-01-01 00:00:00+00:00' in nodes.expiry rather than NULL. 0.29
reports those rows as expired. #3197 and #3199 stopped new writes;
this normalises the existing rows so the column once again means
"no expiry" when unset.

Fixes: #3284

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
S
Shourya Gautam committed
ea8fc725700918a8aba59f10d6ba2469a73e82ad
Parent: 77ba225
Committed by Kristoffer Dalby <kristoffer@dalby.cc> on 5/27/2026, 7:49:05 AM