Closed roquie closed 10 months ago
No response
A bug happened!
Array to string conversion in vendor/cycle/database/src/Schema/AbstractColumn.php:342
Why is not possible to set default value as array for json type? It's a good feature. Just add something like this:
if ($this->getAbstractType() === 'json') { return json_encode($this->defaultValue, JSON_THROW_ON_ERROR); }
database 2.0 PHP 8.1
No duplicates 🥲.
Database
No response
What happened?
A bug happened!
Array to string conversion in vendor/cycle/database/src/Schema/AbstractColumn.php:342
Why is not possible to set default value as array for json type? It's a good feature. Just add something like this:
Version