add .sql file encode check for command db:migrate