Skip to content

Commit

Permalink
fix: corrigir script de instalação com processos tramitados em versõe…
Browse files Browse the repository at this point in the history
…s anteriores
  • Loading branch information
Glaydson Rodrigues committed Oct 16, 2024
1 parent 4db2fd8 commit fe6613c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/sei_atualizar_versao_modulo_pen.php
Original file line number Diff line number Diff line change
Expand Up @@ -2879,7 +2879,7 @@ protected function instalarV3070()
$objMetaBD->adicionarColuna('md_pen_expedir_lote', 'dth_envio', $objMetaBD->tipoDataHora(), $SNULLO);

// Adicionar campos extrar para a tabela md_pen_expedir_lote
$objMetaBD->adicionarColuna('md_pen_expedir_lote', 'id_protocolo', $objMetaBD->tipoNumeroGrande(10), PenMetaBD::NNULLO);
$objMetaBD->adicionarColuna('md_pen_expedir_lote', 'id_protocolo', $objMetaBD->tipoNumeroGrande(10), $SNULLO);
$objMetaBD->adicionarColuna('md_pen_expedir_lote', 'id_bloco', $objMetaBD->tipoNumero(10), $SNULLO);
$objMetaBD->adicionarColuna('md_pen_expedir_lote', 'sequencia', $objMetaBD->tipoNumero(10), $SNULLO);
$objMetaBD->adicionarColuna('md_pen_expedir_lote', 'id_andamento', $objMetaBD->tipoNumero(11), $SNULLO);
Expand Down Expand Up @@ -2922,6 +2922,7 @@ protected function instalarV3070()

//Adicionar coluna para ordenar blocos por unidade
$objMetaBD->adicionarColuna('md_pen_bloco', 'ordem', $objMetaBD->tipoNumero(10), PenMetaBD::NNULLO);
$objMetaBD->alterarColuna('md_pen_bloco_processo', 'id_protocolo', $objMetaBD->tipoNumeroGrande(10), PenMetaBD::NNULLO);

$tabelas = ['md_pen_bloco_protocolo',
'md_pen_seq_bloco_protocolo',
Expand Down

0 comments on commit fe6613c

Please sign in to comment.