Modified migration 0002 to prevetn exceptions in MySQL.