summaryrefslogtreecommitdiff
path: root/db/migrate/20161117114805_remove_undeleted_groups.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove more orphans when removing stray namespacesfix-more-orphans-remove-undeleted-groupsYorick Peterse2017-01-111-24/+72
| | | | Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/25146
* Handle orphans when removing soft deleted groupsfix-remove-undeleted-groups-orphansYorick Peterse2016-11-221-0/+41
| | | | | | There may be more tables but these were the tables that were problematic for GitLab.com due to foreign key constraints (without cascading deletes).
* Add a migration to remove soft-deleted groups.Timothy Andrew2016-11-181-0/+16
The database should not have any soft-deleted groups. Due to a race condition (soft-delete completes after the hard-delete), soft-deleted groups were (incorrectly) left in the database, causing issues while trying to create a new group with the same name.