Skip to content

Commit c3c7547

Browse files
authored
Mysql 8 compliance (#19)
* Upgraded test db to mysql8, and flipped to mysql2 lib. Ran integration tests serially since test setup uses fixed ids. Prevented escape of select wildcard since that syntax is now invalid * Upgraded typescript * kill yarn file * killed some debug and fixed if styling for pr
1 parent 99c9d73 commit c3c7547

24 files changed

+4273
-2585
lines changed

integration_tests/run.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
echo "initializing database"
22
docker stop test-active-record-js-mysql > /dev/null
33
docker rm test-active-record-js-mysql > /dev/null
4-
5-
docker run --name test-active-record-js-mysql -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=tests -d -p 3333:3306 mysql:5.7 > /dev/null
4+
docker run --name test-active-record-js-mysql -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=tests -d -p 3333:3306 mysql:8 > /dev/null
65

76
echo "starting database"
87
docker start test-active-record-js-mysql > /dev/null
9-
sleep 10
8+
sleep 30
109

1110
echo "running tests"
1211
npm run integration-test-run

0 commit comments

Comments
 (0)