[PR #2412] [MERGED] hscontrol/db: add migration setting non existing pak on nodes to null #2652

Closed
opened 2025-12-29 03:22:13 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2412
Author: @kradalby
Created: 2/7/2025
Status: Merged
Merged: 2/7/2025
Merged by: @kradalby

Base: mainHead: kradalby/fix-pak-fk


📝 Commits (1)

  • 967d62c hscontrol/db: add migration setting non existing pak on nodes to null

📊 Changes

3 files changed (+47 additions, -5 deletions)

View changed files

📝 hscontrol/db/db.go (+27 -5)
📝 hscontrol/db/db_test.go (+20 -0)
hscontrol/db/testdata/failing-node-preauth-constraint.sqlite (+0 -0)

📄 Description

should go into beta.2 of 0.25.0


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2412 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 2/7/2025 **Status:** ✅ Merged **Merged:** 2/7/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/fix-pak-fk` --- ### 📝 Commits (1) - [`967d62c`](https://github.com/juanfont/headscale/commit/967d62c184bbdfb2bb1482404c0b30d492cbbde0) hscontrol/db: add migration setting non existing pak on nodes to null ### 📊 Changes **3 files changed** (+47 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/db/db.go` (+27 -5) 📝 `hscontrol/db/db_test.go` (+20 -0) ➕ `hscontrol/db/testdata/failing-node-preauth-constraint.sqlite` (+0 -0) </details> ### 📄 Description should go into beta.2 of 0.25.0 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:22:13 +01:00
adam closed this issue 2025-12-29 03:22:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2652