added code (untested) for db:migrate