Merge pull request #5878 from michaelrk02/patch-1

This commit is contained in:
MGatner 2022-04-08 08:11:19 -04:00 committed by GitHub
commit 957656faf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,8 @@ is used with methods like ``find()`` to know what column to match the specified
Specifies if the table uses an auto-increment feature for ``$primaryKey``. If set to ``false``
then you are responsible for providing primary key value for every record in the table. This
feature may be handy when we want to implement 1:1 relation or use UUIDs for our model.
feature may be handy when we want to implement 1:1 relation or use UUIDs for our model. The
default value is ``true``.
.. note:: If you set ``$useAutoIncrement`` to ``false``, then make sure to set your primary
key in the database to ``unique``. This way you will make sure that all of Model's features