fix(ConnectionFactory): altera senha do banco de dados para 'admin'

master
guilherme 2025-06-17 15:24:23 -03:00
parent 5862aabf61
commit 342df61b42
2 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class ConnectionFactory {
public static Connection getConnectionDrive() throws SQLException{
try{
Class.forName("org.postgresql.Driver");
return DriverManager.getConnection("jdbc:postgresql://localhost:5432/agtemplate","postgres","postgres");
return DriverManager.getConnection("jdbc:postgresql://localhost:5432/agtemplate","postgres","admin");
}catch (ClassNotFoundException e){
throw new SQLException(e.getMessage());
}