Phinx makes it ridiculously easy to manage the database migrations for your PHP app.
10K+
Phinx makes it ridiculously easy to manage the database migrations for your PHP app.
Based on the docker image by Angel Alvarado, this is a Phinx image with PDO support built-in - ready for MySQL migrations.
In the directory of your Phinx configuration file, run the container:
docker run --rm -v "$PWD:/app" vegbrasil/phinx create MyNewMigration
or, to migrate
docker run --rm -v "$PWD:/app" vegbrasil/phinx migrate
If your database server is also in a Docker container, don't forget to include Phinx on the same network:
Example: network called "dev":
docker run --rm -v "$PWD:/app" --network dev vegbrasil/phinx migrate
Content type
Image
Digest
Size
218.3 MB
Last updated
almost 9 years ago
docker pull vegbrasil/phinx