mirror of
https://github.com/games-on-whales/wolfmanager.git
synced 2026-10-15 21:12:13 +00:00
[PR #23] [MERGED] feature / SQLite Integration via Drizzle ORM #45
Labels
No labels
a11y
bug
enhancement
enhancement
good first issue
pull-request
question
refactor
security
shadcn
tech-debt
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolfmanager#45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/games-on-whales/wolfmanager/pull/23
Author: @salty2011
Created: 6/11/2025
Status: ✅ Merged
Merged: 6/12/2025
Merged by: @salty2011
Base:
release/202506.003← Head:feature/14-drizzle-orm-migration📝 Commits (3)
206529fFix client pairing persistence and ID comparison issuesf3dd49eFix client management functionality and database integration8a34d14fix: clean up console logging and session warnings📊 Changes
81 files changed (+13797 additions, -1751 deletions)
View changed files
📝
.env.example(+34 -1)📝
README.md(+101 -1)📝
build/Dockerfile(+12 -4)📝
build/README.md(+56 -1)📝
build/docker-compose.production.yml(+2 -0)📝
build/docker-compose.yml(+6 -0)📝
docs/README.md(+5 -0)📝
docs/development.md(+211 -1)➕
docs/technical/database-architecture.md(+308 -0)➕
docs/technical/database-quick-reference.md(+527 -0)➕
docs/technical/pairing-functions-consolidation-plan.md(+207 -0)➕
drizzle.config.ts(+12 -0)📝
next.config.js(+4 -1)📝
package.json(+18 -3)📝
pnpm-lock.yaml(+923 -7)📝
src/app/actions/wolf-actions.ts(+340 -302)📝
src/app/api/metadata/steamgriddb/[type]/[appId]/route.ts(+16 -5)📝
src/app/api/user/steam/route.ts(+7 -8)📝
src/app/api/wolf/[...path]/route.ts(+107 -0)📝
src/app/api/wolf/lib/wolf-socket.server.ts(+11 -76)...and 61 more files
📄 Description
This PR introduces a foundational migration of the WolfManager backend to support SQLite through the adoption of Drizzle ORM, replacing TOML-based storage for persistent data management. In addition, this PR includes performance and reliability enhancements to support future scalability.
🔧 What's Changed
SQLite Support with Drizzle ORM
Reduced Console Noise
Refactored Client Pairing and Removal Logic
✅ Benefits
🐛 Issues Closed
Closes #14 — Migrate to database-backed storage using Drizzle ORM.
🧪 Testing
Known Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.