database schema update needs to be smooth
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Present Condition:
In case of any changes made to the DB schema in `models.py`
In all environments, database needs to be reset else it throws up an error.
---
### Requirement:
If any change is there in the schema, new tables should be created while deleting older ones, so that no DB reset is required on production as well.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing models.py and the current database reset behavior described in the issue. Identify how schema changes are currently handled and define a safe migration path for production. The work is done when schema changes create the required new tables and remove obsolete ones without requiring a database reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python, sqlalchemy
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100