Commit bc7236890f9a639363df30cf38c350feb00d834a

Authored by Marcelo Linhares
1 parent d34a3313
Exists in MarceloOracle

Cortanto do tamanho dos idx/table/fk para 30

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
bd/PenMetaBD.php
... ... @@ -416,7 +416,7 @@ class PenMetaBD extends InfraMetaBD {
416 416  
417 417 public function adicionarChaveEstrangeira($strNomeFK, $strTabela, $arrCampos, $strTabelaOrigem, $arrCamposOrigem) {
418 418 $strNomeFK = substr($strNomeFK, 0, 30);
419   - if($strNomeFK=='fk_md_pen_componente_digital_m' && $strTabela=='md_pen_componente_digital' && &strTabelaOrigem=='md_pen_tram'){
  419 + if($strNomeFK=='fk_md_pen_componente_digital_m' && $strTabela=='md_pen_componente_digital' && $strTabelaOrigem=='md_pen_tram'){
420 420 $strNomeFK=='fk_md_pen_componente_digital_2';
421 421 }
422 422 //alter table md_pen_componente_digital add constraint fk_md_pen_componente_digital_m foreign key (numero_registro,id_tramite) references md_pen_tram (numero_registro,id_tramite)
... ...