Max Scherzer had a good day Wednesday.

That’s because the Dodgers apparently made Clayton Kershaw the highest-paid pitcher in baseball history.

Multiple media outlets reported that Kershaw, 25, agreed to a seven-year, $215-million contract extension, one that certainly could impact the price tag Scherzer will carry going forward.

Both Cy Young Award winners were scheduled to hit free agency after this past season. With Kershaw locked up, Scherzer, 29, could be the best free agent on next winter’s market.

Kershaw’s deal breaks Justin Verlander’s seven-year, $180-million deal signed last year as tops by a pitcher.

Along with five other Tigers, Scherzer filed for arbitration Tuesday.