func DbDrop(db *periwinkle.Tx) locale.Error { errs := errorList{} for i := range tables { table := tables[len(tables)-1-i] errHelper(&errs, locale.UntranslatedError(db.DropTable(table).Error)) } if len(errs) > 0 { return errs } return nil }