Cannot update column attributes on encrypted column
When attempting to change an encrypted column attribute to nullable using $table->encrypted('payment_number')->nullable()->change();
I received the following:
Unknown column type "encrypted" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information.
The workaround is to the the binary
type for now.