Skip to content

Commit ffcad9e

Browse files
authored
Update and rename postgres-check.sh to test-db-connect.sh
1 parent 38dffae commit ffcad9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql-queries-10/checking-database-connectivity/postgres-check.sh renamed to sql-queries-10/checking-database-connectivity/test-db-connect.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# PostgreSQL Database Connectivity Check Script
44

55
# Load environment variables
6-
source .env
6+
source postgresql.env
77

88
echo "Testing PostgreSQL connectivity..."
99

@@ -14,4 +14,4 @@ if [ $? -eq 0 ]; then
1414
echo "PostgreSQL: Connection successful and student table exists."
1515
else
1616
echo "PostgreSQL: Connection failed or student table does not exist."
17-
fi
17+
fi

0 commit comments

Comments
 (0)