Schema change for wave-based Slack onboarding. The string enum slackInviteStatus is replaced with a simple slackInvitedAt: Date — boolean slackInvited is the source of truth, the date records when. Call sites that flip slackInvited:true must stamp slackInvitedAt in the same update (no pre-save hook, per findByIdAndUpdate convention). Sweeps of remaining slackInviteStatus references land in later tasks. |
||
|---|---|---|
| .. | ||
| api | ||
| config | ||
| emails | ||
| middleware | ||
| migrations | ||
| models | ||
| plugins | ||
| routes | ||
| utils | ||