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

AO3-5667 Add unique index to filter_taggings table #3816

Merged

Conversation

tickinginstant
Copy link
Contributor

Issue

https://otwarchive.atlassian.net/browse/AO3-5667

Purpose

This PR modifies the filter_taggings table to replace the existing index on (filter_id, filterable_type) with a unique index on (filter_id, filterable_type, filterable_id).

Testing Instructions

The usual steps for testing a migration should be sufficient: run it, then roll it back, then run it again. That should ensure that both the migration and its reverse are working.

@redsummernight redsummernight added Has Migrations Contains migrations and therefore needs special attention when deploying Reviewed: Ready to Merge labels Apr 23, 2020
@redsummernight redsummernight merged commit 86d9cfc into otwcode:master Apr 23, 2020
@tickinginstant tickinginstant deleted the AO3-5667-uniqueness-migration branch July 7, 2020 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Has Migrations Contains migrations and therefore needs special attention when deploying Reviewed: Ready to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants