diogenes 2 år sedan
förälder
incheckning
dccdd2767b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/factories/Banco.factory.js

+ 1 - 1
src/factories/Banco.factory.js

@@ -13,7 +13,7 @@ class BancodedadosFactory {
         console.error("Erro ao conectar ao banco de dados:", error);
       })
       .finally(() => {
-        knex.destroy(); // Feche a conexão
+        //knex.destroy(); // Feche a conexão
       });
   }
   static InstallMigrations() {