[PR #2165] [MERGED] set hostinfo,ipv* columns explicitly #2532

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2165
Author: @kradalby
Created: 10/2/2024
Status: Merged
Merged: 10/2/2024
Merged by: @kradalby

Base: mainHead: kradalby/restore-host-info-table


📝 Commits (1)

  • aaaaba2 set hostinfo,ipv* columns explicitly

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 hscontrol/types/node.go (+3 -3)

📄 Description

GORM depends on PascalCasing, when we dropped the extra row, it got confused and new dbs end up with a broken column.


🔄 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/2165 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 10/2/2024 **Status:** ✅ Merged **Merged:** 10/2/2024 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/restore-host-info-table` --- ### 📝 Commits (1) - [`aaaaba2`](https://github.com/juanfont/headscale/commit/aaaaba2721e8504914d0a195ec6274066a628f8a) set hostinfo,ipv* columns explicitly ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/types/node.go` (+3 -3) </details> ### 📄 Description GORM depends on PascalCasing, when we dropped the extra row, it got confused and new dbs end up with a broken column. --- <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:21:41 +01:00
adam closed this issue 2025-12-29 03:21:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2532