-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
doctrine:migration:diff does not work if the table has an index with a functional part. #6153
Conversation
…a functional part.
Thank you. Please note that we don't merge any changes without tests. |
…a functional part.
…unctional_part_of_index # Conflicts: # src/Schema/MySQLSchemaManager.php
…a functional part.
@derrabus What tests do you think will be suitable for this patch? |
A test that reproduces your issue and fails without your change. |
# Conflicts: # src/Platforms/DB2Platform.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add functional tests. The tests you've added never hit a real database and thus don't tell us that your feature actually works.
@derrabus Could you give some advice or explanations about falling tests? I tried running tests on my local machine against postgresql and mysql and they passed. As I see, there is a lot of errors, and i don't see the correlation between the errors and my code. What could be a root cause of problem ? |
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
This pull request was closed due to inactivity. |
Summary
if the table has an index with a functional part, command doctrine:migration:diff fails with error
That's because column name for the functional part is null.