Closed Muffinman closed 1 year ago
Also I did start off writing this bug report in laravel/framework
, because I kind of feel that this should work find with doctrine/dbal
installed, it's even mentioned in the upgrade guide, and installed 3.6.1 - which should be a supported version.
I found a solution here: https://github.com/laravel/framework/issues/46467
I'll leave this issue open though, because I'm not sure if this package needs DBAL at all on 10.x
All tests are green without doctrine so let's remove it.
Description:
It seems that when adding this package to a fresh L10 install, it causes the following column change migration to behave oddly.
I believe this is not specifically a bug of this repo, but ultimately caused by the requirement of
doctrine/dbal
. Maybe this needs a L10 specific release without this requirement (since it's not needed now)? Or it needs a version bump?I'm adding a migration to encrypt some previously json columns as below:
Column created as
json
in earlier migration:Then altered to be
longText
so I can encrypt them in DB:After this
change()
, the DB still has thejson_valid()
checks assigned to the column, meaning encrypted data fails to insert.Steps To Reproduce:
(DB Correctly altered and
json_valid
check is removed.)spatie/laravel-settings
and try again:This does not remove
json_valid
from the schema: