mirror of
https://github.com/status-im/migrate.git
synced 2025-02-24 08:48:09 +00:00
The MySQL driver is using `CREATE TABLE IF NOT EXISTS`, which causes the MySQL database to raise warnings. The golang driver collects the warnings and return a composite object (mysql.MySQLWarnings) as an error that needs to be properly handled. This change stops the driver from failing in case there are only warnings.