DEV Community

Discussion on: Soft Deletion in Database

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Golang's Gorm uses DeletedAt.

Collapse
 
gregorip02 profile image
Gregori Piñeres • Edited

PHP Laravel

class Cat extends Model
{
    use SoftDeletes;
}
Enter fullscreen mode Exit fullscreen mode