mumuki / mumuki-domain

💡 Mumuki's domain model
GNU Affero General Public License v3.0
1 stars 0 forks source link

Feature soft delete forum messages #206

Closed felipecalvo closed 3 years ago

felipecalvo commented 3 years ago

:dart: Goal

Let forum messages be soft deleted.

:memo: Details

The following deletion motives are introduced:

Besides the deletion motive, we will also be persisting who deleted the message (deleted_by) and when (deleted_at)

felipecalvo commented 3 years ago

We should update this, right?

https://github.com/mumuki/mumuki-domain/blob/102ff99d2d9a3652ea9bb9cba7ae4c819396cdc4/app/models/message.rb#L14

There won't be true destroys anymore.

Edit: solved on a later commit.

felipecalvo commented 3 years ago

Alright, it's finally done. You might want to quickly check the last four commits, but it's in line with what we talked earlier.