[PR #303] [MERGED] Migrate ip_address field to ip_addresses #1370

Closed
opened 2025-12-29 02:29:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/303
Author: @kradalby
Created: 1/30/2022
Status: Merged
Merged: 1/31/2022
Merged by: @kradalby

Base: mainHead: migrate_ipaddresses


📝 Commits (2)

  • e9adfcd Migrate ip_address field to ip_addresses
  • 9e3318c Simplify postgres uuid-ossp stirng

📊 Changes

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

View changed files

📝 db.go (+7 -1)

📄 Description

The automatic migration did not pick up this change and it breaks
current setups as it only adds a new field which is empty.

This means that clients who dont request a new IP will not have any IP
at all.


🔄 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/303 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 1/30/2022 **Status:** ✅ Merged **Merged:** 1/31/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `migrate_ipaddresses` --- ### 📝 Commits (2) - [`e9adfcd`](https://github.com/juanfont/headscale/commit/e9adfcd6782d0237a14b4271913c1dff27b6e2f7) Migrate ip_address field to ip_addresses - [`9e3318c`](https://github.com/juanfont/headscale/commit/9e3318ca27b61e8a203821e5794abf9663c601a5) Simplify postgres uuid-ossp stirng ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `db.go` (+7 -1) </details> ### 📄 Description The automatic migration did not pick up this change and it breaks current setups as it only adds a new field which is empty. This means that clients who dont request a new IP will not have any IP at all. --- <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 02:29:51 +01:00
adam closed this issue 2025-12-29 02:29:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1370