We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70aa9a commit 5ecf562Copy full SHA for 5ecf562
1 file changed
src/EncryptionBehavior.php
@@ -58,7 +58,7 @@ public function tableMapFilter(&$script)
58
foreach ($this->getColumnRealNames() as $realColumnName) {
59
static::insertEncryptedColumnName($script, $realColumnName);
60
61
- if ($this->isSearchable() === true) {
+ if ($this->isSearchable() === true || strtolower($this->isSearchable()) === 'true') {
62
static::insertSearchableEncryptedColumnName($script, $realColumnName);
63
}
64
0 commit comments