From 7224c7225dde581c3d30e8a7c9664441f8408b4a Mon Sep 17 00:00:00 2001 From: norareidy Date: Fri, 6 Sep 2024 09:53:07 -0400 Subject: [PATCH] RR feedback --- docs/upgrade.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/upgrade.txt b/docs/upgrade.txt index 515108c5e..575a38760 100644 --- a/docs/upgrade.txt +++ b/docs/upgrade.txt @@ -79,13 +79,14 @@ This library version introduces the following breaking changes: of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your documents. -- Removes support for the ``$collection`` property and the following associated - methods: +- Removes support for the ``$collection`` property and associated methods. + The following list contains the removed methods and provides alternative methods + that you can use to replace the functionality: - - ``Model::collection()``. Instead, use ``Model::table()``. - - ``DB::collection()``. Instead, use ``DB::table()``. - - ``Connection::collection()``. Instead, use ``Connection::table()``. - - ``Schema::collection()``. Instead, use ``Schema::table()``. + - ``Model::collection()``: use ``Model::table()`` + - ``DB::collection()``: use ``DB::table()`` + - ``Connection::collection()``: use ``Connection::table()`` + - ``Schema::collection()``: use ``Schema::table()`` .. _laravel-breaking-changes-v4.x: