[GH-ISSUE #392] Database migrations: SQLite #248

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

Originally created by @fmartingr on GitHub (Mar 1, 2022).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/392

Do the first implementation of migrations of Shiori in the SQLite driver.

From the top of my head, required changes:

  • Add go-migrate to the project
  • Migrate current "migrations" in code to the first migration in the new system
  • Create a command in the CLI to execute the migration based on the project configured driver (and allow only SQLite for now)
  • Allow dry-run of the migrations?
Originally created by @fmartingr on GitHub (Mar 1, 2022). Original GitHub issue: https://github.com/go-shiori/shiori/issues/392 Do the first implementation of migrations of Shiori in the SQLite driver. From the top of my head, required changes: - [x] Add go-migrate to the project - [x] Migrate current "migrations" in code to the first migration in the new system - [x] Create a command in the CLI to execute the migration based on the project configured driver (and allow only SQLite for now) - [ ] Allow dry-run of the migrations?
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#248
No description provided.