MatrixDev / Roomigrant

Automated Android Room ORM migrations generator with compile-time code generation
MIT License
374 stars 23 forks source link

supporting changing indexed field affinity #17

Closed RBusarow closed 3 years ago

RBusarow commented 3 years ago

For each index, get each column name from the columns list.
For each column name, find the actual field in the fieldsMap property of the Field.
Create tuples for each field which represent the name, affinity, and nullability. When comparing indices, compare their lists of these tuples instead of just the column names.

Fixes #16