An adapter-based approach is presented to synchronize code generated by model-to-text (M2T) transformations with changes to the underlying platform. The approach uses adapters to modify generated SQL statements based on differences detected between old and new platform schemas. The process iterates over change records, checks for statement impacts, and calls adaptation functions that output updated statements without deleted columns or other unsupported features. An evaluation shows the approach reduces manual effort compared to propagating changes directly in the transformation code.