Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
migrate' does not compare table structure #63
I've run into an issue when trying to map an existing data store (sqlite3) to persistent entities. migrate' tells me that the existing structure does not match the structure implied by the persistent entity. It wants to drop my tables and recreate them. It looks like what is happening (at least in the sqlite3 implementation) is that is just dumps the create statement from the existing schema and compares that with the create statement generated from the entity definition. I think it would be more correct to parse the existing schema and compare that to the proposed schema to see if they are compatible.