[PR #422] [MERGED] implement migration for mysql & postgres #590

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

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/422
Author: @hulb
Created: 5/3/2022
Status: Merged
Merged: 5/3/2022
Merged by: @fmartingr

Base: masterHead: feat/mysql-pg-migrate


📝 Commits (1)

  • 5033c01 implement migration for mysql & postgres

📊 Changes

10 files changed (+134 additions, -128 deletions)

View changed files

📝 go.sum (+18 -0)
📝 internal/database/database.go (+4 -0)
internal/database/migrations/mysql/0001_initial.up.sql (+8 -0)
internal/database/migrations/mysql/0002_initial.up.sql (+14 -0)
internal/database/migrations/mysql/0003_initial.up.sql (+6 -0)
internal/database/migrations/mysql/0004_initial.up.sql (+9 -0)
internal/database/migrations/postgres/0001_initial.up.sql (+36 -0)
📝 internal/database/mysql.go (+19 -64)
📝 internal/database/pg.go (+20 -60)
📝 internal/database/sqlite.go (+0 -4)

📄 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/go-shiori/shiori/pull/422 **Author:** [@hulb](https://github.com/hulb) **Created:** 5/3/2022 **Status:** ✅ Merged **Merged:** 5/3/2022 **Merged by:** [@fmartingr](https://github.com/fmartingr) **Base:** `master` ← **Head:** `feat/mysql-pg-migrate` --- ### 📝 Commits (1) - [`5033c01`](https://github.com/go-shiori/shiori/commit/5033c01752f19a6edd1815813150bd603952405d) implement migration for mysql & postgres ### 📊 Changes **10 files changed** (+134 additions, -128 deletions) <details> <summary>View changed files</summary> 📝 `go.sum` (+18 -0) 📝 `internal/database/database.go` (+4 -0) ➕ `internal/database/migrations/mysql/0001_initial.up.sql` (+8 -0) ➕ `internal/database/migrations/mysql/0002_initial.up.sql` (+14 -0) ➕ `internal/database/migrations/mysql/0003_initial.up.sql` (+6 -0) ➕ `internal/database/migrations/mysql/0004_initial.up.sql` (+9 -0) ➕ `internal/database/migrations/postgres/0001_initial.up.sql` (+36 -0) 📝 `internal/database/mysql.go` (+19 -64) 📝 `internal/database/pg.go` (+20 -60) 📝 `internal/database/sqlite.go` (+0 -4) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:49 +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#590
No description provided.