[PR #33] [MERGED] JSON database file and migration from sqlite #582

Closed
opened 2025-11-20 04:25:19 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qdm12/ddns-updater/pull/33
Author: @qdm12
Created: 2/23/2020
Status: Merged
Merged: 2/23/2020
Merged by: @qdm12

Base: masterHead: json


📝 Commits (3)

  • 89369fc JSON database file and migration from sqlite
  • 770aece Fix times inserted in json file when migrating
  • 58525fb Migrates times for all previous IP addresses

📊 Changes

14 files changed (+320 additions, -54 deletions)

View changed files

📝 README.md (+5 -5)
📝 cmd/updater/main.go (+21 -3)
📝 internal/data/data.go (+1 -3)
📝 internal/data/persistence.go (+5 -6)
📝 internal/models/history.go (+25 -15)
📝 internal/models/record.go (+2 -6)
📝 internal/persistence/interface.go (+8 -2)
internal/persistence/json/database.go (+90 -0)
internal/persistence/json/models.go (+22 -0)
internal/persistence/json/queries.go (+62 -0)
internal/persistence/migration.go (+49 -0)
📝 internal/persistence/sqlite/database.go (+5 -0)
📝 internal/persistence/sqlite/queries.go (+21 -12)
📝 internal/update/update.go (+4 -2)

📄 Description

No description provided


🔄 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/qdm12/ddns-updater/pull/33 **Author:** [@qdm12](https://github.com/qdm12) **Created:** 2/23/2020 **Status:** ✅ Merged **Merged:** 2/23/2020 **Merged by:** [@qdm12](https://github.com/qdm12) **Base:** `master` ← **Head:** `json` --- ### 📝 Commits (3) - [`89369fc`](https://github.com/qdm12/ddns-updater/commit/89369fc1dc58c96672cca064474a3532e225617e) JSON database file and migration from sqlite - [`770aece`](https://github.com/qdm12/ddns-updater/commit/770aecea6339c01ce477afd06b9ee29e283cb136) Fix times inserted in json file when migrating - [`58525fb`](https://github.com/qdm12/ddns-updater/commit/58525fb9222e44e0bf4868715c4301f66c682006) Migrates times for all previous IP addresses ### 📊 Changes **14 files changed** (+320 additions, -54 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -5) 📝 `cmd/updater/main.go` (+21 -3) 📝 `internal/data/data.go` (+1 -3) 📝 `internal/data/persistence.go` (+5 -6) 📝 `internal/models/history.go` (+25 -15) 📝 `internal/models/record.go` (+2 -6) 📝 `internal/persistence/interface.go` (+8 -2) ➕ `internal/persistence/json/database.go` (+90 -0) ➕ `internal/persistence/json/models.go` (+22 -0) ➕ `internal/persistence/json/queries.go` (+62 -0) ➕ `internal/persistence/migration.go` (+49 -0) 📝 `internal/persistence/sqlite/database.go` (+5 -0) 📝 `internal/persistence/sqlite/queries.go` (+21 -12) 📝 `internal/update/update.go` (+4 -2) </details> ### 📄 Description _No description provided_ --- <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 2025-11-20 04:25:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#582