Ratnesh-Team / Rehabify

The Path to a Brighter Tomorrow "
https://rehabify.ratn.tech
MIT License
18 stars 45 forks source link

Migrate Database from MongoDB to PostgreSQL #35

Closed ratnesh-maurya closed 1 month ago

ratnesh-maurya commented 1 month ago

Description:

We need to migrate our current database from MongoDB (NoSQL) to PostgreSQL (Relational Database). This transition is crucial for enhancing data consistency, supporting complex queries, and improving scalability in relational contexts. The migration process should ensure data integrity, and smooth application functionality post-migration.

Key Objectives:

Data Mapping: Analyze the current MongoDB schema and map it to appropriate PostgreSQL tables. This includes designing a normalized schema, handling nested structures, and considering the best relational database practices.

Application Updates: Update the application codebase to interact with PostgreSQL instead of MongoDB. This includes rewriting database queries, updating models, and ensuring compatibility with PostgreSQL’s SQL dialect.

Requirements:

PostgreSQL expertise.

Acceptance Criteria:

Priority: Low

mienpham04 commented 1 month ago

Hey, I am interested in this issue. Can you assign that to me and I will work on it?

ratnesh-maurya commented 1 month ago

Sure , go ahead