Fix migrate and db command
Change src pattern