Skip to content

Commit

Permalink
Merge pull request #2296 from ZeiP/tags_migration_bug
Browse files Browse the repository at this point in the history
#2295: Fix for the migration bug in MySQL
  • Loading branch information
mattr- authored Nov 6, 2019
2 parents 5d28482 + b94f2cd commit b5ff9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20190618202817_add_user_id_to_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def self.up

# Find uses of each tag for both Todos and RecurringTodos to
# figure out which users use which tags.
@tags = execute <<-EOQ
@tags = exec_query <<-EOQ
SELECT t.id AS tid, tds.user_id AS todo_uid, rt.user_id AS rtodo_uid
FROM tags t
JOIN taggings tgs ON tgs.tag_id = t.id
Expand Down

0 comments on commit b5ff9a1

Please sign in to comment.