[PR #60] [MERGED] Prisma migration #119

Closed
opened 2026-02-15 16:30:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/vector-admin/pull/60
Author: @timothycarambat
Created: 9/28/2023
Status: Merged
Merged: 9/28/2023
Merged by: @timothycarambat

Base: masterHead: prisma-migration


📝 Commits (7)

  • 5efb7b2 WIP for PG migration
  • f2bb9a9 WIP checkpoint
  • befbb14 update Jobs
  • 9c107f8 WIP Prisma migration for rest of models + workers
  • 1cb3f24 update debug UI to use PG
  • c7f63b8 Support dockerized running of new backend
  • 5bfe702 fix backend migrate command

📊 Changes

88 files changed (+3149 additions, -1831 deletions)

View changed files

📝 backend/.env.example (+1 -0)
📝 backend/.gitignore (+1 -4)
📝 backend/endpoints/auth.js (+12 -12)
📝 backend/endpoints/system.js (+14 -4)
📝 backend/endpoints/v1/documents/index.js (+75 -74)
📝 backend/endpoints/v1/jobs/index.js (+3 -3)
📝 backend/endpoints/v1/organizations/index.js (+58 -100)
📝 backend/endpoints/v1/users/index.js (+6 -2)
📝 backend/endpoints/v1/workspaces/index.js (+63 -67)
📝 backend/index.js (+0 -1)
📝 backend/models/documentVectors.js (+63 -94)
📝 backend/models/organization.js (+132 -149)
📝 backend/models/organizationApiKey.js (+43 -78)
📝 backend/models/organizationConnection.js (+79 -113)
📝 backend/models/organizationUser.js (+69 -105)
📝 backend/models/organizationWorkspace.js (+162 -187)
📝 backend/models/queue.js (+69 -101)
📝 backend/models/systemSettings.js (+31 -82)
📝 backend/models/telemetry.js (+1 -1)
📝 backend/models/user.js (+97 -148)

...and 68 more files

📄 Description

Move backend to postgresql + Prisma as the ORM


🔄 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/Mintplex-Labs/vector-admin/pull/60 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 9/28/2023 **Status:** ✅ Merged **Merged:** 9/28/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `prisma-migration` --- ### 📝 Commits (7) - [`5efb7b2`](https://github.com/Mintplex-Labs/vector-admin/commit/5efb7b269daa264f597bd19946ff1b9442d37c07) WIP for PG migration - [`f2bb9a9`](https://github.com/Mintplex-Labs/vector-admin/commit/f2bb9a9fe26eafbd5b0309f531057b4d07c9a187) WIP checkpoint - [`befbb14`](https://github.com/Mintplex-Labs/vector-admin/commit/befbb144c04db5b9f6b6da74455ba9ae5b4ec417) update Jobs - [`9c107f8`](https://github.com/Mintplex-Labs/vector-admin/commit/9c107f8d0324f920eda5be873d68b8daf4b6357f) WIP Prisma migration for rest of models + workers - [`1cb3f24`](https://github.com/Mintplex-Labs/vector-admin/commit/1cb3f2404c090731999dff5a3a48f4f17db136c4) update debug UI to use PG - [`c7f63b8`](https://github.com/Mintplex-Labs/vector-admin/commit/c7f63b86c93807f16c66dff010719d673b0c5586) Support dockerized running of new backend - [`5bfe702`](https://github.com/Mintplex-Labs/vector-admin/commit/5bfe70238922b3ccd8874a3c18b6203a24ff3e7c) fix backend migrate command ### 📊 Changes **88 files changed** (+3149 additions, -1831 deletions) <details> <summary>View changed files</summary> 📝 `backend/.env.example` (+1 -0) 📝 `backend/.gitignore` (+1 -4) 📝 `backend/endpoints/auth.js` (+12 -12) 📝 `backend/endpoints/system.js` (+14 -4) 📝 `backend/endpoints/v1/documents/index.js` (+75 -74) 📝 `backend/endpoints/v1/jobs/index.js` (+3 -3) 📝 `backend/endpoints/v1/organizations/index.js` (+58 -100) 📝 `backend/endpoints/v1/users/index.js` (+6 -2) 📝 `backend/endpoints/v1/workspaces/index.js` (+63 -67) 📝 `backend/index.js` (+0 -1) 📝 `backend/models/documentVectors.js` (+63 -94) 📝 `backend/models/organization.js` (+132 -149) 📝 `backend/models/organizationApiKey.js` (+43 -78) 📝 `backend/models/organizationConnection.js` (+79 -113) 📝 `backend/models/organizationUser.js` (+69 -105) 📝 `backend/models/organizationWorkspace.js` (+162 -187) 📝 `backend/models/queue.js` (+69 -101) 📝 `backend/models/systemSettings.js` (+31 -82) 📝 `backend/models/telemetry.js` (+1 -1) 📝 `backend/models/user.js` (+97 -148) _...and 68 more files_ </details> ### 📄 Description Move backend to postgresql + Prisma as the ORM --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:30:21 -05:00
yindo closed this issue 2026-02-15 16:30:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/vector-admin#119