Closed FaritSlv closed 3 years ago
Q | A |
---|---|
Branch? | 2.5.1 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Fixed tickets | |
License | MIT |
Doc PR |
@dbu hello.
This fix creates the correct index for any ORM database.
The point is that there is no such problem in MySQL (Maria DB), that is, it creates a unique index on a column and separately (alias) an index on the same column. In OracleDB it is impossible to create 2 different indexes on the same column. An error will occur that the index has already been created.
MySQL:
Correct create index:
ah, so we even ended up with a duplicated index in mysql? then that fix benefits even those using mysql or postgres.
can you please rebase the branch so that we can see the CI working?
and can you please add a note in the CHANGELOG.md file that quickly explains what changed and why? (it might be that people upgrading will see a doctrine migration for example, to cleanup the duplicated index)
@dbu Ok. I will close this PR, create a new one with a link to this one.
that is always the last resort. i will be travelling in the next days, will look into it end of this week.