Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel soft delete

use IlluminateDatabaseEloquentModel;
use IlluminateDatabaseEloquentSoftDeletes;

class Post extends Model {

    use SoftDeletes;

    protected $table = 'posts';

    // ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #soft #delete
ADD COMMENT
Topic
Name
7+4 =