JonPSmith / EfCore.SchemaCompare

Library to compare EF Core's Model of the database against a database's schema.
https://www.thereformedprogrammer.net/how-to-update-a-databases-schema-without-using-ef-cores-migrate-feature/
MIT License
106 stars 15 forks source link

SQLite issue #20

Open viettran1109 opened 1 year ago

viettran1109 commented 1 year ago

Hi,

I ran into an issue in SQLite. I get the below errors but I didn't make any changes to my entity/database at all.

_DIFFERENT: Student->PrimaryKey 'PK_Students', constraint name. Expected = PK_Students, found = DIFFERENT: Entity 'Student', constraint name. Expected = PK_Students, found =_

@JonPSmith any idea how I can resolve this please?

Thanks!

P.S. love the package btw!

JonPSmith commented 1 year ago

Hi @viettran1109,

I need a bit more information for this issue. Can you provide:

If your DbContext has lots of entity classes, then it would help me if you could create a cut-down version that fails.