Laravel use SoftDeletes;

use SoftDeletes;
if the above sentence is introduced into the model, it will be included in the query
. deleted_at is null this condition
but I found that the table structure field is 0. I would like to ask how to solve

at this time.
Jul.28,2021

before using migration to generate table structures, make sure you do this in the migration file?

Schema::table('demo',function ($table) {
    $table->softDeletes(); // deleted_at
});
Menu