fix(ModelsCommand): use 'string' as realType for 'encrypted' casts (#1698)

This commit is contained in:
Pieter Willekens
2025-07-17 08:06:36 +02:00
committed by GitHub
parent 108f6269c1
commit fafe264b3c
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -410,9 +410,6 @@ class ModelsCommand extends Command
$params = [];
switch ($type) {
case 'encrypted':
$realType = 'mixed';
break;
case 'boolean':
case 'bool':
$realType = 'bool';
@@ -420,6 +417,7 @@ class ModelsCommand extends Command
case 'decimal':
$realType = 'numeric';
break;
case 'encrypted':
case 'string':
case 'hashed':
$realType = 'string';