Docker image of the "rubenv/sql-migrate" binary
398
Docker image of the sql-migrate binary. See sql-migrate if you want to know more details.
Create a directory that contains the following files and directories:
- dbconfig.yml
- migrations
Execute the following command:
$ docker run --rm \
-w="$WORK_DIR" \
-v "$MOUNT_DIR":"$WORK_DIR" \
scizorman/sql-migrate-bin \
<command> [<args>]
You may want to create a Makefile to easily execute these commands.
WORK_DIR is your working directory in the docker containerMOUNT_DIR is the directory created in 1.This library is distributed under the MIT license.
Content type
Image
Digest
Size
6.8 MB
Last updated
about 7 years ago
docker pull scizorman/sql-migrate-bin