Commit 65bdd014baa53317a13f7d9e5e11e5bbde91d578
1 parent
03d34179
Exists in
MarceloOracle
Cortanto do tamanho da pk para 30
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
bd/PenMetaBD.php
... | ... | @@ -389,7 +389,7 @@ class PenMetaBD extends InfraMetaBD { |
389 | 389 | } |
390 | 390 | |
391 | 391 | public function adicionarChavePrimaria($strTabela, $strNomePK, $arrCampos) { |
392 | - | |
392 | + $strNomePK = substr($strNomePK, 0, 30); | |
393 | 393 | if(!$this->isChaveExiste($strTabela, $strNomePK)) { |
394 | 394 | parent::adicionarChavePrimaria($strTabela, $strNomePK, $arrCampos); |
395 | 395 | } | ... | ... |