[PR #1348] [CLOSED] refactor: Support any PostgreSQL database #2051

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1348
Author: @ayush6624
Created: 4/19/2023
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 7a119ba refactor: Support any PostgreSQL database

📊 Changes

2 files changed (+6 additions, -0 deletions)

View changed files

📝 app.go (+5 -0)
📝 config.go (+1 -0)

📄 Description

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

We wanted to use CockroachDB with headscale, which was not possible with the current config options. This PR adds support to directly input a Postgres dialect URL


🔄 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/1348 **Author:** [@ayush6624](https://github.com/ayush6624) **Created:** 4/19/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`7a119ba`](https://github.com/juanfont/headscale/commit/7a119ba39d8386f85873e86e6509492b94ac4899) refactor: Support any PostgreSQL database ### 📊 Changes **2 files changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app.go` (+5 -0) 📝 `config.go` (+1 -0) </details> ### 📄 Description <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#contributing) - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> We wanted to use CockroachDB with headscale, which was not possible with the current config options. This PR adds support to directly input a Postgres dialect URL --- <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:19:33 +01:00
adam closed this issue 2025-12-29 03:19:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2051