Commit 8f4c2e6ae73a0d147bad0ea0fe6a3a1ea61b7cb7
1 parent
53ed2f8b
Exists in
MarceloOracle
Cortanto do tamanho dos idx para 30
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
bd/PenMetaBD.php
... | ... | @@ -333,6 +333,10 @@ class PenMetaBD extends InfraMetaBD { |
333 | 333 | foreach($arrSchema['pk'] as $strPk) { |
334 | 334 | $n = 'idx_'.$strNomeTabela.'_'.$strPk; |
335 | 335 | $n = substr($n, 0, 30); |
336 | + if($n=='idx_md_pen_recibo_tramite_envi' && $strNomeTabela=='md_pen_recibo_tramite_enviado'){ | |
337 | + $n="idx_md_pen_recibo_tramite_env2" | |
338 | + } | |
339 | + //idx_md_pen_recibo_tramite_envi ON md_pen_recibo_tramite_enviado(id_tramite) | |
336 | 340 | $objInfraBanco->executarSql('CREATE INDEX '.$n.' ON '.$strNomeTabela.'('.$strPk.')'); |
337 | 341 | } |
338 | 342 | } | ... | ... |