Skip to content

Commit 226756f

Browse files
committed
DOCSP-42956: Remove support
1 parent e424861 commit 226756f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/upgrade.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ This library version introduces the following breaking changes:
7979
of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your
8080
documents.
8181

82+
- Removes support for the ``$collection`` property and the following associated
83+
methods:
84+
85+
- ``Model::collection()``. Instead, use ``Model::table()``.
86+
- ``Connection::collection()``. Instead, use ``Connection::table()``.
87+
- ``Schema::collection()``. Instead, use ``Schema::table()``.
88+
8289
.. _laravel-breaking-changes-v4.x:
8390

8491
Version 4.x Breaking Changes

0 commit comments

Comments
 (0)