M
M
mShpakov2018-04-18 12:54:20
PostgreSQL
mShpakov, 2018-04-18 12:54:20

Why does Unknown database type jsonb requested occur?

I do migrations with jsonb columns
$table->jsonb('properties');
and get:

[Doctrine\DBAL\DBALException]  
Unknown database type jsonb requested, Doctrine\DBAL\Platforms\PostgreSQL92Platform  may not support it.

I didn't find anything intelligible in Google
php 7.0
postgres 9.6
laravel 5.5.4

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-04-18
@sergey-gornostaev

PostgeSQL 9.2 did not yet have a JSONB type.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question