Chirag4904 / timetable

0 stars 2 forks source link

remove teachers from allotment when ltp is zero #106

Closed RoguedBear closed 1 year ago

RoguedBear commented 1 year ago

closes #105, #84

Description

i tried to write migrations, to remove existing zero-ltp allotment entries. i give up :sob: . mongoose + javascript async/await are a formidable foe, capable of ruining an average person's day simply by existing.

so for now, existing entries wont be deleted unless commit_ltp is called on them

Checklist:

Chirag4904 commented 1 year ago

yep perfectly fine like right now it's an issue bcoz data is already saved but in the new system if this happens at committing ltp time then it's perfectly fine.