Dict with JSON or JSONB on Postgres

On the docs for the Dict field, it says:

It is possible to store the dict as JSON in the database if the backend supports by manually altering the column type to JSON on the database.

Does it work with JSONB on postgres?

Why isn’t the column created as JSON(B) automatically if the backend supports it? Is there any caveat for using the native JSON(B) support?


At that time, JSONB was not supported by all supported PostgreSQL versions.
Also as it is a type of data that is not supported by all databases, we prefer to have safe default like that code does not rely on specific features but still be able to customize for specific cases.