Write SQL query to solve given problem: What is the truck's model year used to ship the ship ID 1245?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T1.model_year FROM truck AS T1 INNER JOIN shipment AS T2 ON T1.truck_id = T2.truck_id WHERE T2.ship_id = '1245'