wn-builder-plugin icon indicating copy to clipboard operation
wn-builder-plugin copied to clipboard

Version file %s is not found when try to access migration in subdir

Open dimti opened this issue 2 years ago • 3 comments

If create migration file with artisan command ./artisan create:migration plugin.code --name "SomeMigration" --table some_table -u then created migration in subdir with dirname as version number. On the builder plugin if try to open this migration from the list - catching appliaction error about unable to find migration file

dimti avatar Sep 11 '23 09:09 dimti

Simple fix there: https://github.com/dimti/wn-builder-plugin/commit/e323ec72

dimti avatar Sep 11 '23 09:09 dimti

@bennothommo are you able to take 15 minutes to look at this? It should be a simple fix

LukeTowers avatar Sep 14 '23 23:09 LukeTowers

May be is not fully correctly fix, because after create migrations from wn-builder - migration file path prefixed with current dir ./ image

dimti avatar Sep 16 '23 11:09 dimti

Fixed as of https://github.com/wintercms/wn-builder-plugin/commit/ea214a225a53f5e631e57231cdf8efa1e62596b8.

bennothommo avatar Sep 09 '24 07:09 bennothommo