New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SchemaDiff throws SchemaException("There is no column ....")
since v2.5.5
#2501
Comments
Same issue here with an oracle database.
Since 2.5.5, this query fails:
On 2.5.4, the query was with INNER JOIN:
Reverting back to 2.5.4 solve the issue. |
Same here using
/**
* @ORM\ManyToMany(targetEntity="AppBundle\Entity\Contract", inversedBy="expectedFaults")
* @ORM\JoinTable(name="expected_faults",
* joinColumns={@ORM\JoinColumn(name="fault_id", referencedColumnName="id")},
* inverseJoinColumns={@ORM\JoinColumn(name="contract_id", referencedColumnName="id")}
* )
*/ |
I can confirm this. In fact, we have a number of users that have been hitting this in our ManyToMany tutorial (https://knpuniversity.com/screencast/collections/many-to-many-extra-fields#comment-3094129612), so it's definitely legit (but I know these things are complex!). |
I hit the bug too, and can confirm that the fix provided by @arima-ryunosuke works in my case, which is adding new columsn to the table and then recreate the primary key to use the old columns plus the new ones. |
This issue is fixed at v2.5.13 by #2696 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
code:
v2.5.4 is
but v2.5.5 is
I would like to append to a "MySqlPlatform.php:702" like a below.
refs #2302
The text was updated successfully, but these errors were encountered: