Files
oficial/app/resources/database/seeds/20141101080031_estado_proyecto_agente_seeder.php
2024-12-18 20:33:15 -03:00

445 lines
6.8 KiB
PHP

<?php
use Phinx\Seed\AbstractSeed;
class EstadoProyectoAgenteSeeder extends AbstractSeed
{
public function run(): void
{
$data = [
[
'id' => 1,
'agente' => 1,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 2,
'agente' => 2,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 3,
'agente' => 3,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 4,
'agente' => 4,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 5,
'agente' => 5,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 6,
'agente' => 6,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 7,
'agente' => 7,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 8,
'agente' => 8,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 9,
'agente' => 9,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 10,
'agente' => 10,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 11,
'agente' => 12,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 12,
'agente' => 13,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 13,
'agente' => 14,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 14,
'agente' => 15,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 15,
'agente' => 16,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 16,
'agente' => 17,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 17,
'agente' => 18,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 18,
'agente' => 19,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 19,
'agente' => 20,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 20,
'agente' => 21,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 21,
'agente' => 22,
'fecha' => '2015-12-28',
'tipo' => 1,
],
[
'id' => 22,
'agente' => 23,
'fecha' => '2015-12-28',
'tipo' => 1,
],
[
'id' => 23,
'agente' => 24,
'fecha' => '2015-12-28',
'tipo' => 1,
],
[
'id' => 24,
'agente' => 25,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 25,
'agente' => 26,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 26,
'agente' => 27,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 27,
'agente' => 28,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 28,
'agente' => 29,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 29,
'agente' => 30,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 30,
'agente' => 31,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 31,
'agente' => 32,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 32,
'agente' => 33,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 33,
'agente' => 34,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 34,
'agente' => 35,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 35,
'agente' => 36,
'fecha' => '2015-12-01',
'tipo' => 1,
],
[
'id' => 36,
'agente' => 37,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 37,
'agente' => 38,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 38,
'agente' => 39,
'fecha' => '2011-11-11',
'tipo' => 1,
],
[
'id' => 39,
'agente' => 40,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 40,
'agente' => 41,
'fecha' => '2013-11-01',
'tipo' => 1,
],
[
'id' => 41,
'agente' => 42,
'fecha' => '2016-03-21',
'tipo' => 1,
],
[
'id' => 42,
'agente' => 43,
'fecha' => '2016-03-21',
'tipo' => 1,
],
[
'id' => 43,
'agente' => 44,
'fecha' => '2016-03-21',
'tipo' => 1,
],
[
'id' => 44,
'agente' => 45,
'fecha' => '2016-03-28',
'tipo' => 1,
],
[
'id' => 45,
'agente' => 46,
'fecha' => '2016-03-29',
'tipo' => 1,
],
[
'id' => 46,
'agente' => 47,
'fecha' => '2016-03-31',
'tipo' => 1,
],
[
'id' => 47,
'agente' => 48,
'fecha' => '2016-04-04',
'tipo' => 1,
],
[
'id' => 48,
'agente' => 49,
'fecha' => '2016-04-08',
'tipo' => 1,
],
[
'id' => 49,
'agente' => 50,
'fecha' => '2016-04-14',
'tipo' => 1,
],
[
'id' => 50,
'agente' => 51,
'fecha' => '2016-04-28',
'tipo' => 1,
],
[
'id' => 51,
'agente' => 52,
'fecha' => '2016-05-06',
'tipo' => 1,
],
[
'id' => 52,
'agente' => 53,
'fecha' => '2016-06-08',
'tipo' => 1,
],
[
'id' => 53,
'agente' => 54,
'fecha' => '2016-06-08',
'tipo' => 1,
],
[
'id' => 54,
'agente' => 55,
'fecha' => '2016-06-08',
'tipo' => 1,
],
[
'id' => 55,
'agente' => 56,
'fecha' => '2016-06-08',
'tipo' => 1,
],
[
'id' => 56,
'agente' => 57,
'fecha' => '2016-06-08',
'tipo' => 1,
],
[
'id' => 57,
'agente' => 58,
'fecha' => '2016-06-20',
'tipo' => 1,
],
[
'id' => 58,
'agente' => 59,
'fecha' => '2016-08-01',
'tipo' => 1,
],
[
'id' => 59,
'agente' => 60,
'fecha' => '2016-08-22',
'tipo' => 1,
],
[
'id' => 60,
'agente' => 61,
'fecha' => '2018-01-10',
'tipo' => 1,
],
[
'id' => 61,
'agente' => 62,
'fecha' => '2018-01-10',
'tipo' => 1,
],
[
'id' => 62,
'agente' => 63,
'fecha' => '2018-01-10',
'tipo' => 1,
],
[
'id' => 63,
'agente' => 64,
'fecha' => '2018-03-01',
'tipo' => 1,
],
[
'id' => 64,
'agente' => 3,
'fecha' => '2018-03-01',
'tipo' => 2,
],
[
'id' => 65,
'agente' => 68,
'fecha' => '2019-09-06',
'tipo' => 1,
],
[
'id' => 66,
'agente' => 69,
'fecha' => '2019-09-06',
'tipo' => 1,
],
[
'id' => 67,
'agente' => 70,
'fecha' => '2019-09-06',
'tipo' => 1,
],
[
'id' => 68,
'agente' => 71,
'fecha' => '2019-09-06',
'tipo' => 1,
],
[
'id' => 69,
'agente' => 72,
'fecha' => '2019-12-10',
'tipo' => 1,
],
[
'id' => 70,
'agente' => 73,
'fecha' => '2019-12-10',
'tipo' => 1,
],
[
'id' => 71,
'agente' => 74,
'fecha' => '2019-12-10',
'tipo' => 1,
],
];
$this->execute('SET unique_checks=0; SET foreign_key_checks=0;');
$this->table('estado_proyecto_agente')
->insert($data)
->saveData();
$this->execute('SET unique_checks=1; SET foreign_key_checks=1;');
}
}