gitlab-org--gitlab-foss/db
Valery Sizov cd2659fdb5 Merge branch 'tag_dup' into 'master'
Remove tag duplicates

Prevention of getting this error:

```
ActiveRecord::RecordNotUnique: PG::Error: ERROR:  could not create unique index "index_tags_on_name"
DETAIL:  Key (name)=(XSS') is duplicated.
: CREATE UNIQUE INDEX  "index_tags_on_name" ON "tags"  ("name")
```

This migration fails if there are duplicates:
https://github.com/mbleigh/acts-as-taggable-on/blob/v3.5.0/db/migrate/2_add_missing_unique_indices.rb#L3

See merge request !623
2015-05-08 08:30:05 +00:00
..
fixtures Fix user fixtures for development 2015-03-08 17:35:49 -07:00
migrate Merge branch 'tag_dup' into 'master' 2015-05-08 08:30:05 +00:00
schema.rb Remove project dropdown and fix db sche,a 2015-05-05 18:29:23 +03:00
seeds.rb init commit 2011-10-09 00:36:38 +03:00