modify DatabaseConnection.java

This commit is contained in:
2026-06-25 20:57:47 +03:30
parent 667d2f66c7
commit 05ab2a497a
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,6 +1,5 @@
CREATE TABLE users(
id SERIAL PRIMARY KEY,
username VARCHAR(50) NOT NULL UNIQUE,
@@ -6,7 +6,7 @@ import java.sql.SQLException;
public class DatabaseConnection {
private static final String URL = "jdbc:postgresql://localhost:5432/restaurant_db"; // DB Server
private static final String URL = "jdbc:postgresql://localhost:5432/postgres"; // DB Server
private static final String USER = "postgres"; // Your Username