Seeds corregidas

This commit is contained in:
Juan Pablo Vial
2024-12-18 20:30:24 -03:00
parent fdb9dcf9be
commit d3df35daff
5 changed files with 569 additions and 566 deletions

View File

@ -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],";

View File

@ -35,7 +35,7 @@ class CuentaSeeder extends AbstractSeed
'id' => 5,
'inmobiliaria' => 76743916,
'banco' => 9,
'cuenta' => 0213013213,
'cuenta' => '0213013213',
],
[
'id' => 6,

View File

@ -62,7 +62,7 @@ class InmobiliariaSeeder extends AbstractSeed
'dv' => 4,
'razon' => 'Inmobiliaria Incoviba Optimus',
'abreviacion' => 'Optimus',
'cuenta' => 0213013213,
'cuenta' => '0213013213',
'banco' => 9,
'sociedad' => 1,
'sigla' => 'OPT',

File diff suppressed because it is too large Load Diff