Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-21 01:13:58 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-21 01:13:58 +0300
commit500e277a8326b345854a5fc3114c1163826c1b4a (patch)
tree60897f24eb911288c98df49d647054649dbc2eb2 /lib
parent265ad515c697b9d50c4fd3e4bb360689a369a190 (diff)
Change notices during migrating
Diffstat (limited to 'lib')
-rw-r--r--lib/ci/migrate/tags.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ci/migrate/tags.rb b/lib/ci/migrate/tags.rb
index 2bbd253f8de..2e4872f0716 100644
--- a/lib/ci/migrate/tags.rb
+++ b/lib/ci/migrate/tags.rb
@@ -12,10 +12,10 @@ module Ci
'WHERE (SELECT COUNT(*) FROM tags WHERE tags.name = ci_tags.name)=0'
)
- puts 'Deleting old records'
+ puts 'Deleting old taggings...'
connection.execute "DELETE FROM taggings WHERE context = 'tags' AND taggable_type LIKE 'Ci::%'"
- puts 'Inserting tags...'
+ puts 'Inserting taggings...'
connection.execute(
'INSERT INTO taggings (taggable_type, taggable_id, tag_id, context) ' +
"SELECT CONCAT('Ci::', ci_taggings.taggable_type), ci_taggings.taggable_id, tags.id, 'tags' FROM ci_taggings " +