merlyn/frontend/src/components
Sean Hatfield a126b5f5aa
Replace custom sqlite dbms with prisma (#239)
* WIP converted all sqlite models into prisma calls

* modify db setup and fix ApiKey model calls in admin.js

* renaming function params to be consistent

* converted adminEndpoints to utilize prisma orm

* converted chatEndpoints to utilize prisma orm

* converted inviteEndpoints to utilize prisma orm

* converted systemEndpoints to utilize prisma orm

* converted workspaceEndpoints to utilize prisma orm

* converting sql queries to prisma calls

* fixed default param bug for orderBy and limit

* fixed typo for workspace chats

* fixed order of deletion to account for sql relations

* fix invite CRUD and workspace management CRUD

* fixed CRUD for api keys

* created prisma setup scripts/docs for understanding how to use prisma

* prisma dependency change

* removing unneeded console.logs

* removing unneeded sql escape function

* linting and creating migration script

* migration from depreciated sqlite script update

* removing unneeded migrations in prisma folder

* create backup of old sqlite db and use transactions to ensure all operations complete successfully

* adding migrations to gitignore

* updated PRISMA.md docs for info on how to use sqlite migration script

* comment changes

* adding back migrations folder to repo

* Reviewing SQL and prisma integraiton on fresh repo

* update inline key replacement

* ensure migration script executes and maps foreign_keys regardless of db ordering

* run migration endpoint

* support new prisma backend

* bump version

* change migration call

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-09-28 14:00:03 -07:00
..
AdminSidebar Full developer api (#221) 2023-08-23 19:15:07 -07:00
ChatBubble Custom default messages implementation for single and multi-user modes (#193) 2023-08-16 17:30:46 -07:00
DefaultChat Custom default messages implementation for single and multi-user modes (#193) 2023-08-16 17:30:46 -07:00
EditingChatBubble Custom default messages implementation for single and multi-user modes (#193) 2023-08-16 17:30:46 -07:00
Icons add discord invite link to UI 2023-07-21 12:05:39 -07:00
Modals Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
PrivateRoute [FEATURE] Enable the ability to have multi user instances (#158) 2023-07-25 10:37:04 -07:00
Sidebar Renamed all indicies to vectors to avoid confusion of vocab (#246) 2023-09-21 12:04:17 -07:00
UserIcon inital commit 2023-06-03 19:28:07 -07:00
WorkspaceChat fix settings overlay hiding underneath prompt (#222) 2023-08-23 19:25:29 -07:00
Preloader.jsx [FEATURE] Enable the ability to have multi user instances (#158) 2023-07-25 10:37:04 -07:00