build: merging migrations scripts and condensing in-tree makefile