migrate icon indicating copy to clipboard operation
migrate copied to clipboard

Support separate path for sql migration files

Open mohammadVatandoost opened this issue 3 years ago • 1 comments

Currently, all migration files must be in the same directory. I want to a feature that gives us ability to put migration sql files in separate directories.

As you see in following code, we can just add a fs to source.Driver. func New(fsys fs.FS, path string) (source.Driver, error)

It will be nice, if we can pass multiple fs to source.Driver, like this: func New(fsys []fs.FS, path string) (source.Driver, error)

mohammadVatandoost avatar Feb 08 '22 15:02 mohammadVatandoost

I would like to work on this feature. If it is ok, please assignee to me.

mohammadVatandoost avatar Feb 08 '22 15:02 mohammadVatandoost