Skip to content

Simple image build on top of mysql with support for sub-folders and rubenv/sql-migrate format

Notifications You must be signed in to change notification settings

alexmontecucco/mysql-migrate-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

mysql-migrate-docker

This docker image is built on top of the offical mysql image.
It adds the following support:

Usage

The usage is the same as the usage of the official image with some exceptions:

  • Files and folders must be mounted in /sql-data or any subdirectory
  • /docker-entrypoint-initdb.d should not be used anymore
  • Sql archives are not supported yet

File scanning order

Starting from the /sql-data folder, all the .sql files are converted then executed by mysql in alphabetical order.
Then each sub-folder is recursively scanned in alphabetical order as well.

About

Simple image build on top of mysql with support for sub-folders and rubenv/sql-migrate format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages