headscale/hscontrol/db/testdata/sqlite
Shourya Gautam ea8fc72570 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>
2026-05-27 09:49:05 +02:00
..
failing-node-preauth-constraint_dump.sql db: add sqlite "source of truth" schema 2025-07-07 15:48:38 +01:00
headscale_0.26.0-beta.1_dump.sql db: add sqlite "source of truth" schema 2025-07-07 15:48:38 +01:00
headscale_0.26.0-beta.2_dump.sql db: add sqlite "source of truth" schema 2025-07-07 15:48:38 +01:00
headscale_0.26.0_dump.sql db: add sqlite "source of truth" schema 2025-07-07 15:48:38 +01:00
headscale_0.26.1_dump-litestream.sql db: remove _schema from migration tests 2025-11-13 09:46:40 -06:00
headscale_0.26.1_dump.sql db: add sqlite "source of truth" schema 2025-07-07 15:48:38 +01:00
headscale_0.26.1_dump_schema-to-0.27.0-old-table-cleanup.sql db: add defensive removal of old indicies 2025-11-10 20:07:29 +01:00
request_tags_migration_test.sql db: use PolicyManager for RequestTags migration 2026-01-21 15:10:29 +01:00
zero_time_expiry_migration_test.sql db: backfill zero-time node expiry to NULL 2026-05-27 09:49:05 +02:00