use text/template for migration template, copy migration files to tmp dir on db:migrate