generated from RealDevSquad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 279
Open
Description
π Issue
The task status in the current system uses "COMPLETED" in both the database and the controller responses. We need to update this to use "DONE" instead, in order to align with updated terminology and improve clarity.
This change will impact:
- The database entries
- The controller logic and responses
β Expected Behavior
Task statuses in all relevant locations (DB and controller responses) should use "DONE" instead of "COMPLETED".
β Current Behavior
Task statuses in all relevant locations (DB and controller responses) currently use "COMPLETED".
π οΈ Description / Plan
We need to remove the usage of "COMPLETED" from the system in three steps:
-
Controller Wrapper Update
- Modify all relevant controllers to check for task status
"COMPLETED"and return"DONE"instead. - This acts as a temporary wrapper until the migration is complete.
- Modify all relevant controllers to check for task status
-
Database Migration Script
- Write and run a script to update all records in the database where the task status is
"COMPLETED", and change them to"DONE".
- Write and run a script to update all records in the database where the task status is
-
Final Controller Update
- Once the DB has no more
"COMPLETED"entries, remove the wrapper logic from step 1. - Ensure controllers directly return the actual value from the DB, which will now be
"DONE".
- Once the DB has no more
π Summary of Current State
"COMPLETED"exists in the database.- Controllers return
"COMPLETED"directly. - No logic currently exists to map
"COMPLETED"to"DONE".
Metadata
Metadata
Assignees
Labels
No labels