homanp / langchain-ui

🧬 The open source chat-ai toolkit
https://langchain-ui.vercel.app
MIT License
881 stars 160 forks source link

Prisma Schema : Migrate the PostgreSQL database #98

Closed thesushilsharma closed 1 year ago

thesushilsharma commented 1 year ago

Summary

This will auto-deploy the schema to PostgreSQL Database.

Fixes Manually creating and adding tables to Database.

Depends on Database connection. adding migrate to package.json "migrate:dev": "prisma migrate dev", "migrate:deploy": "prisma migrate deploy", "migrate:status": "prisma migrate status", "generate": "prisma generate"

Test plan

npm run migrate:dev

Screenshots

image image

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @homanp on Vercel.

@homanp first needs to authorize it.

homanp commented 1 year ago

@thesushilsharma thanks for this PR. I've decided to split the UI from the backend which has been completely rewritten in Python since the LangChain Python package is much more feature packed than the TS version at this point.

You can check out the implementation here: https://github.com/homanp/superagent

I'm also looking att recreating the UI from scratch using the latest features of NextJS. Is this something you would be interested in contributing to?

thesushilsharma commented 1 year ago

@thesushilsharma thanks for this PR. I've decided to split the UI from the backend which has been completely rewritten in Python since the LangChain Python package is much more feature packed than the TS version at this point.

You can check out the implementation here: https://github.com/homanp/superagent

I'm also looking att recreating the UI from scratch using the latest features of NextJS. Is this something you would be interested in contributing to?

I would be glad to assist. Please list out your issues/bugs, and I will try to help you. Meanwhile, I will fork and try to play with this repo.