Skip to content

Commit 64ca31b

Browse files
committed
formatting
1 parent d17c030 commit 64ca31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ In addition to actually removing records from your database, Eloquent can also "
500500
use SoftDeletes;
501501
}
502502

503-
In addition, the `SoftDeletes` trait will cast the `deleted_at` attribute to a `DateTime` / `Carbon` instance for you.
503+
> {tip} The `SoftDeletes` trait will automatically cast the `deleted_at` attribute to a `DateTime` / `Carbon` instance for you.
504504
505505
Of course, you should add the `deleted_at` column to your database table. The Laravel [schema builder](/docs/{{version}}/migrations) contains a helper method to create this column:
506506

0 commit comments

Comments
 (0)