summaryrefslogtreecommitdiff
path: root/db/migrate/20161017125927_add_unique_index_to_labels.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add remove_concurrent_index to database helperblackst0ne2017-04-061-0/+1
|
* Fix broken label uniqueness label migrationStan Hu2016-10-211-2/+2
| | | | | | | | | | | | | | | | | The previous implementation of the migration failed on staging because the migration was attempted to remove labels from projects that did not actually have duplicates. This occurred because the SQL query did not account for the project ID when selecting the labels. To replicate the problem: 1. Disable the uniqueness validation in app/models/label.rb. 2. Create a duplicate label "bug" in project A. 3. Create the same label in project B with label "bug". The migration will attempt to remove the label in B even if there are no duplicates. Closes #23609
* Add label type to group and project labels listsDouglas Barbosa Alexandre2016-10-191-0/+32