<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class Task2212281213 extends AbstractMigration
{
    public function up(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 743548');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 743548
                         , 'nr_parcela'            => 5
                         , 'vl_total'              => 23261.75
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 0.00
                         , 'vl_subvencao_estadual' => 23261.75
                         , 'dt_vencimento'         => '2023-01-06'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 810029
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 748227');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 748227
                         , 'nr_parcela'            => 7
                         , 'vl_total'              => 23723.63
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 0.00
                         , 'vl_subvencao_estadual' => 23723.63
                         , 'dt_vencimento'         => '2023-01-16'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 810030
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 760856');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 760856
                         , 'nr_parcela'            => 4
                         , 'vl_total'              => 2052.48
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 0.00
                         , 'vl_subvencao_estadual' => 2052.48
                         , 'dt_vencimento'         => '2023-01-06'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 810097
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 760433');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 760433
                         , 'nr_parcela'            => 4
                         , 'vl_total'              => 3420.84
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 0.00
                         , 'vl_subvencao_estadual' => 3420.84
                         , 'dt_vencimento'         => '2023-01-06'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 810095
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 724414');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 724414
                         , 'nr_parcela'            => 2
                         , 'vl_total'              => 12830.20
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 0.00
                         , 'vl_subvencao_estadual' => 12830.20
                         , 'dt_vencimento'         => '2023-01-05'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 810375
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 724438');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 724438
                         , 'nr_parcela'            => 4
                         , 'vl_total'              => 8831.44
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 8831.44
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2022-10-27'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 802245
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 783234');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 783234
                         , 'nr_parcela'            => 4
                         , 'vl_total'              => 1702.45
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 1702.45
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812490
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 785939');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 785939
                         , 'nr_parcela'            => 4
                         , 'vl_total'              => 1693.44
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 1693.44
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812491
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 786355');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 786355
                         , 'nr_parcela'            => 2
                         , 'vl_total'              => 7800.64
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 7800.64
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812495
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 787395');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 787395
                         , 'nr_parcela'            => 2
                         , 'vl_total'              => 21570.61
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 21570.61
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812497
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 787782');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 787782
                         , 'nr_parcela'            => 2
                         , 'vl_total'              => 11395.01
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 11395.01
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812498
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 788926');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 788926
                         , 'nr_parcela'            => 4
                         , 'vl_total'              => 5880.60
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 5880.60
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812499
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 789067');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                           'id_usuario_criacao'    => 2068
                         , 'dt_criacao'            => 'NOW()'
                         , 'id_proposta'           => 789067
                         , 'nr_parcela'            => 3
                         , 'vl_total'              => 16544.08
                         , 'vl_segurado'           => 0.00
                         , 'vl_subvencao_federal'  => 16544.08
                         , 'vl_subvencao_estadual' => 0.00
                         , 'dt_vencimento'         => '2023-01-15'
                         , 'fl_pago'               => 'FALSE'
                         , 'id_endosso'            => 812485
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 789245');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 789245
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 3063.09
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 3063.09
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812501
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 789302');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 789302
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 9070.86
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 9070.86
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812503
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791189');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 791189
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 1045.71
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 1045.71
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812504
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791246');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 791246
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 2010.68
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 2010.68
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812506
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 792795');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 792795
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 10545.52
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 10545.52
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 811970
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 792965');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 792965
                            , 'nr_parcela'            => 4
                            , 'vl_total'              => 8576.22
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 8576.22
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812508
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 785375');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 785375
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 2217.60
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 2217.60
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812511
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 790531');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 790531
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 2594.64
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 2594.64
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812512
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 795642');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 795642
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 2026.48
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 2026.48
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812517
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 790668');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 790668
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 36499.14
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 36499.14
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812518
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 794252');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 794252
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 670.68
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 670.68
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812524
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 767827');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 767827
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 2546.96
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 2546.96
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812525
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 768180');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 768180
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 607.22
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 607.22
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812526
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 768195');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 768195
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 1743.17
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 1743.17
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812528
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 770363');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 770363
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 3294.42
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 3294.42
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812532
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 770384');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 770384
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 560.27
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 560.27
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812534
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 777996');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 777996
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 948.64
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 948.64
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812539
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 782360');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 782360
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 6050.51
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 6050.51
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812540
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 783510');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 783510
                            , 'nr_parcela'            => 3
                            , 'vl_total'              => 842.46
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 842.46
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812542
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 784860');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 784860
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 5134.32
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 5134.32
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812543
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 786418');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 786418
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 423.68
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 423.68
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812544
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791076');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 791076
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 892.41
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 892.41
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812547
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791231');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 791231
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 112.86
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 112.86
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812549
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791681');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 791681
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 9726.28
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 9726.28
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812550
            ];
            $table->insert($singleRow)
                  ->saveData();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 790394');
        if ($row['id']) {
            $table = $this->table('seguro.propostas_parcelas');
            $singleRow = [
                              'id_usuario_criacao'    => 2068
                            , 'dt_criacao'            => 'NOW()'
                            , 'id_proposta'           => 790394
                            , 'nr_parcela'            => 2
                            , 'vl_total'              => 1983.60
                            , 'vl_segurado'           => 0.00
                            , 'vl_subvencao_federal'  => 1983.60
                            , 'vl_subvencao_estadual' => 0.00
                            , 'dt_vencimento'         => '2023-01-15'
                            , 'fl_pago'               => 'FALSE'
                            , 'id_endosso'            => 812551
            ];
            $table->insert($singleRow)
                  ->saveData();
        }
}

public function down(): void
{
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 790394');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 790394
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791681');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 791681
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791231');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 791231
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791076');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 791076
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 786418');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 786418
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 784860');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 784860
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 783510');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 783510
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 782360');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 782360
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 777996');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 777996
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 770384');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 770384
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 770363');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 770363
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 768195');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 768195
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 768180');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 768180
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 767827');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 767827
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 794252');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 794252
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 790668');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 790668
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 795642');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 795642
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 790531');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 790531
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 785375');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 785375
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 792965');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 792965
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 792795');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 792795
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791246');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 791246
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 791189');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 791189
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 789302');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 789302
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 789245');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 789245
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 789067');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 789067
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 788926');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 788926
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 787782');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 787782
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 787395');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 787395
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 786355');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 786355
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 785939');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 785939
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 783234');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 783234
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 724438');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 724438
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 724414');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 724414
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 760433');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 760433
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 760856');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 760856
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 748227');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 748227
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }

        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 743548');
        if ($row['id']) {
            $delete = $this->getQueryBuilder();
            $delete->delete('seguro.propostas_parcelas')
               ->where([ 'id_proposta' => 743548
                       , 'nr_parcela'  => 2
                      ])
               ->execute();
        }
    }
}