Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration table softdeletes

use IlluminateDatabaseEloquentSoftDeletes;class User extends Model {use SoftDeletes;    protected $dates = ['deleted_at'];}
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #laravel #migration #table #softdeletes
ADD COMMENT
Topic
Name
5+8 =