(Feat-Fix): New Reporting system, more seeded data, fixed subdepartments and activity inversion, login page changes, etc etc

This commit is contained in:
2025-12-18 08:15:31 +00:00
parent 916ee19677
commit ac29bb2882
24 changed files with 3306 additions and 207 deletions

View File

@@ -74,11 +74,11 @@ check_db_connection() {
docker exec work_allocation_db mysql -u root -padmin123 -e "SELECT 1" &> /dev/null
return $?
elif command -v mysql &> /dev/null; then
mysql -h localhost -P 3306 -u root -padmin123 -e "SELECT 1" &> /dev/null
mysql -h localhost -P 3307 -u root -padmin123 -e "SELECT 1" &> /dev/null
return $?
else
# Try using nc to check if port is open
nc -z localhost 3306 &> /dev/null
nc -z localhost 3307 &> /dev/null
return $?
fi
}