[PR #530] [MERGED] Make migrations transparent to the user #646

Closed
opened 2026-02-25 23:35:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/530
Author: @fmartingr
Created: 11/4/2022
Status: Merged
Merged: 11/27/2022
Merged by: @fmartingr

Base: masterHead: issue-473-2


📝 Commits (2)

  • 7f826a3 refactor: remove migrate command
  • 5e61e48 reafactor: avoid migration errors on no changes

📊 Changes

6 files changed (+22 additions, -35 deletions)

View changed files

📝 docs/Usage.md (+1 -10)
internal/cmd/migrate.go (+0 -21)
📝 internal/cmd/root.go (+6 -1)
📝 internal/database/mysql.go (+5 -1)
📝 internal/database/pg.go (+5 -1)
📝 internal/database/sqlite.go (+5 -1)

📄 Description

After a discussion in #473, I'm bringing back transparent migrations being run on command calls.

Fixes #473


🔄 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/go-shiori/shiori/pull/530 **Author:** [@fmartingr](https://github.com/fmartingr) **Created:** 11/4/2022 **Status:** ✅ Merged **Merged:** 11/27/2022 **Merged by:** [@fmartingr](https://github.com/fmartingr) **Base:** `master` ← **Head:** `issue-473-2` --- ### 📝 Commits (2) - [`7f826a3`](https://github.com/go-shiori/shiori/commit/7f826a3add5ea2804128509429c346913641b966) refactor: remove migrate command - [`5e61e48`](https://github.com/go-shiori/shiori/commit/5e61e488ba0db71524ccbd6ada8e4be9c34577f7) reafactor: avoid migration errors on no changes ### 📊 Changes **6 files changed** (+22 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `docs/Usage.md` (+1 -10) ➖ `internal/cmd/migrate.go` (+0 -21) 📝 `internal/cmd/root.go` (+6 -1) 📝 `internal/database/mysql.go` (+5 -1) 📝 `internal/database/pg.go` (+5 -1) 📝 `internal/database/sqlite.go` (+5 -1) </details> ### 📄 Description After a discussion in #473, I'm bringing back transparent migrations being run on command calls. Fixes #473 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:35:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#646
No description provided.