Closed MrLepage closed 6 years ago
As in #1 Expected: the Dao class. Found: The actual database.
columns order doesn't matter as long you ensures the types are the same
If you compare Expected and Found in my previous post you will see that the type are the same for each column.
Not null field is the same for each column too.
The only difference between the two is the order if the columns in TableInfo
I just see that "tutorialUrl" is expected with url in uppercase...
SQL should be case insensitive I'm not sure if it's your problem. try to rename to tutorialURL and let me know what happened
Thanks for making me check twice ;)
My Product Entity had the wrong column name. Problem fixed.
interesting, so room is case sensitive. glad you solve your problem.
When I try to open the database for the first time with RoomAsset, the migration validation fails. I see that the columns order is not the same between what is expected and what is found. I don't know how the columns order are determined.
java.lang.IllegalStateException: Migration didn't properly handle products(com.garnier.garnier.manager.catalog.database.entities.Product).