A migration tool compares two versions of a table schema. Each schema is a
comma-separated list of "column:type" entries (no duplicate column names).
Classify every column:
- ADDED: in new but not old
- REMOVED: in old but not new
- CHANGED: in both, but the type differs
Input Format:
Line 1: old schema, e.g. id:int,name:string,age:int
Line 2: new schema, e.g. id:bigint,name:string,email:string
Output Format:
ADDED <column> <type> (one per added column)
CHANGED <column> <old>-><new> (one per changed column)
REMOVED <column> <type> (one per removed column)
Groups in that order; within each group sort by column name.
If nothing changed, print exactly: NO CHANGES