summaryrefslogtreecommitdiff
path: root/lib/api/project_snippets.rb
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-05-08 08:30:05 +0000
committerValery Sizov <valery@gitlab.com>2015-05-08 08:30:05 +0000
commitcd2659fdb572214cc0270632db4da9f9c89bdf9c (patch)
treeb692113481337d1282800a93d396de9f25fac7ca /lib/api/project_snippets.rb
parentd881345ed71b05d404d277624556a438064f09cd (diff)
parentb60717604c8f7b2cb089d4fd30cc282d4f77a85f (diff)
downloadgitlab-ce-cd2659fdb572214cc0270632db4da9f9c89bdf9c.tar.gz
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
Diffstat (limited to 'lib/api/project_snippets.rb')
0 files changed, 0 insertions, 0 deletions