Fixed cache type specification
Only run MySQL code in MySQL database migrations