bjupreti / karyakram-backend

http://3.99.181.235/docs
0 stars 2 forks source link

Integrate Alembic and SQLModel #4

Open bjupreti opened 1 year ago

bjupreti commented 1 year ago

Integrate database migration tool. - Did some research on flyway but I think it's pretty complex and didn't found many resources so I think we will use Alembic. Integrate Object Relations Mapper (ORMs) - Was thinking of using SQLAlchemy but found out a new library called SQLModel from the same author of FastApi and it's built on top of SQLAlchemy and Pydantic with some more additional features and has very good compatibility with FastAPI. So, I think we will use SQLModel.

roshanbasnet commented 1 year ago

Hello @bjupreti ,

I have setup the database migratrion using Alembic and SQLmodel. and pull request has been sent. Could you please check the pull request(https://github.com/bjupreti/karyakram-backend/pull/16) and provided feedback?

Best regards, roshanbasnet