Skip to content
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

Fix invalid duplicate indices using ArchivableBehavior for some platforms #1904

Conversation

felixgeyer
Copy link
Contributor

Resolves #1894

Please let me know, if we can write tests for this behavior depending on different platforms.
Without the fix, test setup will fail because of the error described in the linked issue.

To keep it more simple, we could also discuss to never copy the original's index name which might be a breaking change if someone relies on the archive index name.

@codecov-commenter
Copy link

codecov-commenter commented Aug 22, 2022

Codecov Report

Merging #1904 (af565f1) into master (966046e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #1904   +/-   ##
=========================================
  Coverage     87.64%   87.64%           
- Complexity     7825     7828    +3     
=========================================
  Files           227      227           
  Lines         21177    21182    +5     
=========================================
+ Hits          18560    18565    +5     
  Misses         2617     2617           
Flag Coverage Δ
5-max 87.64% <100.00%> (+<0.01%) ⬆️
7.4 87.64% <100.00%> (+<0.01%) ⬆️
agnostic 67.03% <100.00%> (+<0.01%) ⬆️
mysql 68.82% <0.00%> (-0.04%) ⬇️
pgsql 68.84% <0.00%> (-0.04%) ⬇️
sqlite 66.66% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...nerator/Behavior/Archivable/ArchivableBehavior.php 91.95% <100.00%> (+0.49%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dereuromark dereuromark merged commit e6b0e0e into propelorm:master Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ArchivableBehavior archive table uses same index name as original table
4 participants