Skip to content

Commit

Permalink
Update database-basics.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
mrothauer authored Nov 1, 2024
1 parent 252f90f commit 71b94a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/database-basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ the type mapping. During our application bootstrap we should do the following::

use Cake\Database\TypeFactory;

TypeFactory::map('json', \App\Database\Type\JsonType:class);
TypeFactory::map('json', \App\Database\Type\JsonType::class);

We then have two ways to use our datatype in our models.

Expand Down

0 comments on commit 71b94a0

Please sign in to comment.