Seeds corregidas
This commit is contained in:
@ -502,6 +502,9 @@ use Phinx\Seed\AbstractSeed;
|
||||
if ($value === null) {
|
||||
$value = 'null';
|
||||
}
|
||||
if (strlen($value) > 2 and str_starts_with($value, '0')) {
|
||||
$value = "'{$value}'";
|
||||
}
|
||||
$output []= "\t\t\t\t'{$key}' => {$value},";
|
||||
}
|
||||
$output []= "\t\t\t],";
|
||||
|
Reference in New Issue
Block a user