Commit 7e839af666b15973e9fb3cd5cab823e9fcd42bfe

Authored by Edmar Moretti
1 parent a3c1fff6

--no commit message

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
admin/php/upgradebanco46_47.php
@@ -104,14 +104,14 @@ foreach($tabelas as $tabela){ @@ -104,14 +104,14 @@ foreach($tabelas as $tabela){
104 if($_POST["mostraSoSQL"] != "on"){ 104 if($_POST["mostraSoSQL"] != "on"){
105 $q = $dbhw->query($tabela); 105 $q = $dbhw->query($tabela);
106 if($q){ 106 if($q){
107 - echo "<br>Feito!!!<pre><br>"; 107 + echo "<br>Feito!!!<br>";
108 } 108 }
109 else{ 109 else{
110 - echo "<pre>Ocorreu algum problema na criação das tabelas. Tabelas que deveriam ter sido criadas:\n"; 110 + echo "<br><br>Ocorreu algum problema na cria&ccedil;&atilde;o da tabela (ou j&aacute; existe)<br> $tabela \n";
111 } 111 }
112 } 112 }
113 } 113 }
114 -echo "Tabelas:<br><br>"; 114 +echo "<br><br>Tabelas:<br><br>";
115 foreach($tabelas as $tabela){ 115 foreach($tabelas as $tabela){
116 if($drivename == "pgsql"){ 116 if($drivename == "pgsql"){
117 $tabela = str_replace("INTEGER PRIMARY KEY","SERIAL PRIMARY KEY NOT NULL",$tabela); 117 $tabela = str_replace("INTEGER PRIMARY KEY","SERIAL PRIMARY KEY NOT NULL",$tabela);