db: preserve user_id on untagged nodes with tags='null'

A nil tags slice marshals to JSON `null`; the clear-tagged migration
read that as tagged and cleared user_id. Exclude it, and recover
already-detached nodes from their pre-auth key.

Fixes #3323
This commit is contained in:
Kristoffer Dalby
2026-06-18 08:32:06 +00:00
parent b0c221f3a1
commit 636f660caf
6 changed files with 316 additions and 2 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ extra:
- icon: fontawesome/brands/discord
link: https://discord.gg/c84AZQhmpx
headscale:
version: 0.29.0
version: 0.29.1
# Extensions
markdown_extensions: