mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
[PR #33] [MERGED] JSON database file and migration from sqlite #582
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:json📝 Commits (3)
89369fcJSON database file and migration from sqlite770aeceFix times inserted in json file when migrating58525fbMigrates 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.