Chore: Fix mysql integration tests (#33606)

This commit is contained in:
Sofia Papagiannaki 2021-05-02 20:49:38 +03:00 committed by GitHub
parent 1db26f8907
commit 49e9f7e3b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,6 @@ func (db *MySQLDialect) CleanDB() error {
for _, table := range tables {
switch table.Name {
case "migration_log":
default:
if _, err := sess.Exec("set foreign_key_checks = 0"); err != nil {
return errutil.Wrap("failed to disable foreign key checks", err)