MySQL migrations in bash