[PR #4611] [management] add MySQL support for activity events #20796

Open
opened 2026-08-05 05:07:43 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4611
Author: @RPuettmann
Created: 10/9/2025
Status: 🔄 Open

Base: mainHead: feat/add_mysql_support_for_activity


📝 Commits (2)

  • 1d2a3c5 MySQL activity store
  • 259045e changed activity store test to include all database engines

📊 Changes

2 files changed (+77 additions, -31 deletions)

View changed files

📝 management/server/activity/store/sql_store.go (+8 -0)
📝 management/server/activity/store/sql_store_test.go (+69 -31)

📄 Description

Describe your changes

Added MySQL engine support to the activities event sql store and changed the corresponding Test to check all of the engines.

4610

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/446


🔄 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/netbirdio/netbird/pull/4611 **Author:** [@RPuettmann](https://github.com/RPuettmann) **Created:** 10/9/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/add_mysql_support_for_activity` --- ### 📝 Commits (2) - [`1d2a3c5`](https://github.com/netbirdio/netbird/commit/1d2a3c5c720a5d4a2bb8fe252ed10a181f155559) MySQL activity store - [`259045e`](https://github.com/netbirdio/netbird/commit/259045ead159f9a9afe7f779b29b728fb392c2c3) changed activity store test to include all database engines ### 📊 Changes **2 files changed** (+77 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `management/server/activity/store/sql_store.go` (+8 -0) 📝 `management/server/activity/store/sql_store_test.go` (+69 -31) </details> ### 📄 Description ## Describe your changes Added MySQL engine support to the activities event sql store and changed the corresponding Test to check all of the engines. ## Issue ticket number and link [4610](https://github.com/netbirdio/netbird/issues/4610) ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [x] I added/updated documentation for this change - [ ] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/446 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 05:07:43 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#20796