Files
headscale/hscontrol
Kristoffer Dalby 52d454d0c8 hscontrol/db: add migration to clear user_id on tagged nodes
Tagged nodes are owned by their tags, not a user. Previously
user_id was kept as "created by" tracking, but this prevents
deleting users whose nodes have all been tagged, and the
ON DELETE CASCADE FK would destroy the tagged nodes.

Add a migration that sets user_id = NULL on all existing tagged
nodes. Subsequent commits enforce this invariant at write time.

Updates #3077
2026-02-20 21:51:00 +01:00
..
2026-02-06 21:45:32 +01:00
2026-01-16 14:54:04 +01:00
2026-02-19 08:21:23 +01:00
2026-02-06 21:45:32 +01:00
2026-02-06 21:45:32 +01:00
2026-02-06 21:45:32 +01:00
2026-02-06 21:45:32 +01:00