Skip to content
Discussion options

You must be logged in to vote

🔍 Step-by-Step Approach

  1. Map Out Field Differences

Start by creating a clear mapping of:

Frontend fields (what’s being sent to the API)

Backend model fields (what’s being stored in the database)

This can be done by checking your frontend form payloads (e.g., JSON requests) and comparing them against the backend model definitions.

✅ Tip: Use tools like Postman or browser DevTools to inspect network requests from the frontend.

  1. Decide Where to Align

You have two main options:

Option A – Update the Model Schema (Recommended if possible)

If the unused backend fields truly serve no purpose, simplify your database model:

Remove redundant columns from your models/schemas.

Update migrations acc…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArpanCodeX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Requests Propose, review, and discuss changes to a repository's codebase Question Ask and answer questions about GitHub features and usage
2 participants