wip: mysql driver

add tests for pg driver and mysql driver (in progress)
This commit is contained in:
2024-07-11 11:20:36 +02:00
parent 711c426898
commit 024eb61a41
12 changed files with 1027 additions and 38 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Clean up PostgreSQL test data
docker exec -i db-postgres-test psql -U postgres <<EOF
DROP TABLE IF EXISTS test_table;
EOF
# Clean up MySQL test data
docker exec -i db-mysql-test mysql -uroot -pmysecretpassword --database=test_db<<EOF
DROP TABLE IF EXISTS test_table;
EOF
# Stop and remove Docker containers and volumes
docker-compose down -v
echo "Test databases are cleaned up"