mirror of
https://github.com/knex/knex.git
synced 2025-09-20 21:53:50 +00:00

* Exposed also positionBinding method to client base class and refactored calls to em * Added toSQL().toNative() getter which returns dialect specfic sql and bindings. * Refactored toSQL method implementation
15 lines
367 B
Bash
15 lines
367 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [ -n "$(docker info)" ]; then
|
|
DOCKER_IMAGES=("mysql:5.7" "postgres:9.6")
|
|
for image in ${DOCKER_IMAGES[@]}; do
|
|
if [ -z "$(docker images -q ${image})" ]; then
|
|
echo "Installing Docker image ${image}"
|
|
docker pull ${image}
|
|
else
|
|
echo "Docker image ${image} found!"
|
|
fi
|
|
done
|
|
fi
|
|
|