Skip to content

Add a deleted_at property #2

@olvlvl

Description

@olvlvl

It's time to prepare the module for trash management. A deleted_at column should be added and used by the visible scope. Add the deleted and not_deleted scopes. Add a is_deleted getter. Maybe add a restore() method to restore a deleted record from the trash.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions