Open remcoabc opened 2 years ago
@ArsenyYankovsky Do you know if this is a known issue?
@robbertstevens @ArsenyYankovsky I am seeing the same issue was wondering if this is a typeorm issue or a driver issue?
No, idea. I have no experience with Typeorm besides this.
I'm seeing the same issue with this driver. If I run a local mysql 5.7 docker container then use the mysql driver and run the migration generation pointing to this then the migrations are generated correctly. We're on typeorm 0.2.38 and typeorm-aurora-data-api-driver 2.3.4 but I did some testing with the latest versions and this issue still exists. If I get a bit more time I'll do some more testing and see if I can pinpoint where this is happening but probably going to have to use the docker setup as a workaround for the moment.
Package versions and database engine type (please complete the following information):
Describe the bug When we generate a migration without any changes to the entities it will generate a migration in which all indexes are dropped and created again.
What result we expect We expect a message which states that there are no changes