61 lines
1.3 KiB
PHP
61 lines
1.3 KiB
PHP
<?php
|
|
|
|
use Phinx\Seed\AbstractSeed;
|
|
|
|
class InmobiliariasNuboxSeeder extends AbstractSeed
|
|
{
|
|
public function run(): void
|
|
{
|
|
$data = [
|
|
[
|
|
'inmobiliaria_rut' => 77023196,
|
|
'alias' => 'CONEXION I',
|
|
'usuario' => 'axWud31N3Prd',
|
|
'contraseña' => 'T2Kq.jO4',
|
|
],
|
|
[
|
|
'inmobiliaria_rut' => 76743916,
|
|
'alias' => 'OPTIMUS',
|
|
'usuario' => 'fv4uSNjBrPrd',
|
|
'contraseña' => 'Xpor5JBr',
|
|
],
|
|
[
|
|
'inmobiliaria_rut' => 99543380,
|
|
'alias' => 'INCOVIBA',
|
|
'usuario' => 'GSCRv83yHPrd',
|
|
'contraseña' => 'JlAqEwqU',
|
|
],
|
|
[
|
|
'inmobiliaria_rut' => 76519798,
|
|
'alias' => 'DON EXEQUIEL',
|
|
'usuario' => 'tpgVPfzdEPrd',
|
|
'contraseña' => 'yiq8.UX6',
|
|
],
|
|
[
|
|
'inmobiliaria_rut' => 76309587,
|
|
'alias' => 'CONEXION O',
|
|
'usuario' => '7nAknNk4GPrd',
|
|
'contraseña' => 'GPXU2Hd6',
|
|
],
|
|
[
|
|
'inmobiliaria_rut' => 76309592,
|
|
'alias' => 'VISTA ANDINA',
|
|
'usuario' => 'bYK89QuUePrd',
|
|
'contraseña' => 'FWogEOU1',
|
|
],
|
|
[
|
|
'inmobiliaria_rut' => 78017310,
|
|
'alias' => 'BYV TRUST',
|
|
'usuario' => 'c39pHmtjcPrd',
|
|
'contraseña' => 'rr5xB4uE',
|
|
],
|
|
];
|
|
|
|
$this->execute('SET unique_checks=0; SET foreign_key_checks=0;');
|
|
$this->table('inmobiliarias_nubox')
|
|
->insert($data)
|
|
->saveData();
|
|
$this->execute('SET unique_checks=1; SET foreign_key_checks=1;');
|
|
}
|
|
}
|